add session_register_shutdown

added in 5.4. The comments on http://php.net/manual/en/function.session-register-shutdown.php said this was equivilent.
Esse commit está contido em:
Paul Tarjan
2013-06-18 13:29:36 -07:00
commit de Sara Golemon
commit 77cf51fb32
2 arquivos alterados com 6 adições e 0 exclusões
+1
Ver Arquivo
@@ -45,6 +45,7 @@ hphp/system/php/lang/ErrorException.php
hphp/system/php/lang/Serializeable.php
hphp/system/php/pdo/PDOException.php
hphp/system/php/reflection/reflection.php
hphp/system/php/sessions/session_register_shutdown.php
hphp/system/php/soap/SoapFault.php
hphp/system/php/spl/datastructures/SplObjectStorage.php
hphp/system/php/spl/datastructures/SplPriorityQueue.php
@@ -0,0 +1,5 @@
<?php
function session_register_shutdown() {
register_shutdown_function('session_write_close');
}