php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66218
Patch reflection.patch revision 2013-12-02 16:02 UTC by remi@php.net
revision 2013-12-02 14:13 UTC by remi@php.net
revision 2013-12-02 13:34 UTC by remi
Patch ReflectionExtension_bug66218.phpt revision 2013-12-02 14:41 UTC by remi@php.net
Patch bug66218.phpt revision 2013-12-02 13:42 UTC by remi@php.net

Patch bug66218.phpt for Reflection related Bug #66218

Patch version 2013-12-02 13:42 UTC

Return to Bug #66218 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: remi@php.net

--TEST--
Bug #66218 zend_register_functions breaks reflection
--SKIPIF--
<?php
if (PHP_SAPI != "cli") die("Skip: CLI only test");
?>
--FILE--
<?php
$tab = get_extension_funcs("standard");
$fcts = array("dl", "cli_set_process_title", "cli_get_process_title");
foreach ($fcts as $fct) {
	if (in_array($fct, $tab)) {
		echo "$fct Ok\n";
	}
}
?>
Done
--EXPECTF--
dl Ok
cli_set_process_title Ok
cli_get_process_title Ok
Done
 
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sat Apr 25 06:02:54 2015 UTC