php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch ReflectionExtension_bug66218.phpt for Reflection related Bug #66218Patch version 2013-12-02 14:41 UTC Return to Bug #66218 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: remi@php.net--TEST-- ReflectionExtension::getFunctions() ##6218 zend_register_functions issue break reflection --SKIPIF-- <?php if (!extension_loaded('reflection')) print 'skip: missing reflection extension'; if (PHP_SAPI != "cli") die("Skip: CLI only test"); ?> --FILE-- <?php $r = new ReflectionExtension('standard'); $t = $r->getFunctions(); var_dump($t['cli_set_process_title']); var_dump($t['cli_get_process_title']); ?> Done --EXPECTF-- object(ReflectionFunction)#%d (1) { ["name"]=> string(21) "cli_set_process_title" } object(ReflectionFunction)#%d (1) { ["name"]=> string(21) "cli_get_process_title" } Done |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 14:01:29 2024 UTC |