/PHP-5.3/ext/reflection/tests/ |
H A D | 009.phpt | 13 $func = new ReflectionFunction("test"); 15 var_dump($func->export("test")); 17 var_dump($func->getName()); 19 var_dump($func->isInternal()); 21 var_dump($func->isUserDefined()); 23 var_dump($func->getFilename()); 25 var_dump($func->getStartline()); 27 var_dump($func->getEndline()); 29 var_dump($func->getDocComment()); 37 var_dump($func->returnsReference()); [all …]
|
H A D | 025.phpt | 15 $func = new ReflectionFunction("test"); 17 var_dump($func->export("test")); 19 var_dump($func->getName()); 21 var_dump($func->isInternal()); 23 var_dump($func->isUserDefined()); 25 var_dump($func->getFilename()); 27 var_dump($func->getStartline()); 29 var_dump($func->getEndline()); 31 var_dump($func->getDocComment()); 39 var_dump($func->returnsReference()); [all …]
|
H A D | bug48757.phpt | 13 $func = new ReflectionFunction('test'); 14 $func->invoke(); 16 $func = new ReflectionFunction('another_test'); 17 $func->invoke('testing');
|
H A D | 010.phpt | 8 function func() { 12 function func() { 15 $m = new ReflectionMethod("Bar::func"); 19 Method [ <user, overwrites Foo, prototype Foo> public method func ] {
|
H A D | parameters_001.phpt | 7 function func($x, $y = NULL){ 12 $f = new ReflectionMethod('Test', 'func'); 16 $p = new ReflectionParameter(array('Test', 'func'), 'x'); 19 $p = new ReflectionParameter(array('Test', 'func'), 'y'); 23 $p = new ReflectionParameter(array('Test', 'func'), 'z');
|
H A D | bug49092.phpt | 6 function func(){} 7 new \ReflectionFunction('ns\func'); 8 new \ReflectionFunction('\ns\func');
|
/PHP-5.3/ext/com_dotnet/tests/ |
H A D | bug33386.phpt | 11 public function func1() { echo " func one\n"; } 12 public function func2() { echo " func two\n"; } 23 $oScript->ExecuteStatement ("tfA.func$i"); 24 $oScript->ExecuteStatement ("func$i"); 28 $oScript->ExecuteStatement ("tfB.func$i"); 35 func one 36 func one 37 func two 38 func two 39 func one [all …]
|
/PHP-5.3/main/ |
H A D | php_ticks.c | 49 PHPAPI void php_add_tick_function(void (*func)(int)) in php_add_tick_function() 53 zend_llist_add_element(&PG(tick_functions), (void *)&func); in php_add_tick_function() 56 PHPAPI void php_remove_tick_function(void (*func)(int)) in php_remove_tick_function() 60 zend_llist_del_element(&PG(tick_functions), (void *)func, in php_remove_tick_function() 66 void (*func)(int); in php_tick_iterator() local 68 memcpy(&func, data, sizeof(void(*)(int))); in php_tick_iterator() 69 func(*((int *)arg)); in php_tick_iterator()
|
H A D | php_ticks.h | 30 PHPAPI void php_add_tick_function(void (*func)(int)); 31 PHPAPI void php_remove_tick_function(void (*func)(int));
|
/PHP-5.3/tests/classes/ |
H A D | abstract_user_call.phpt | 8 abstract function func(); 13 function func() 21 $o->func(); 23 call_user_func(array($o, 'test_base::func')); 28 test::func() 30 Fatal error: Cannot call abstract method test_base::func() in %s on line %d
|
/PHP-5.3/Zend/tests/ |
H A D | closure_033.phpt | 7 public $func; 9 $this->func = function() { 13 private function func() { 19 $f = $o->func; 21 $o->func(); 28 Fatal error: Call to private method Test::func() from context '' in %sclosure_033.php on line %d
|
H A D | bug48770.phpt | 9 public function func($str) { 24 public function func($str) { 28 print "This method shouldn't be called when using parent::func!\n"; 32 call_user_func_array(array($this, 'parent::func'), array($str)); 43 public function func($str) { 44 parent::func($str); 49 $c->func('This should work!'); 53 %unicode|string%(26) "A::func: This should work!"
|
H A D | get_defined_functions_basic.phpt | 23 $func = get_defined_functions(); 25 if (!is_array($func)) { 30 if (!is_array($func["internal"])) { 34 $internal = $func["internal"]; 42 if (!is_array($func["user"])) { 46 $user = $func["user"];
|
H A D | bug48770_3.phpt | 9 public function func($str) { 24 public function func($str) { 38 public function func($str) { 39 parent::func($str); 44 $c->func('This should work!');
|
H A D | bug48770_2.phpt | 9 public function func($str) { 24 public function func($str) { 39 public function func($str) { 40 parent::func($str); 45 $c->func('This should work!');
|
/PHP-5.3/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 114 func->argc, in pdo_sqlite_cleanup_callbacks() 116 func, in pdo_sqlite_cleanup_callbacks() 121 if (func->func) { in pdo_sqlite_cleanup_callbacks() 122 zval_ptr_dtor(&func->func); in pdo_sqlite_cleanup_callbacks() 130 efree(func); in pdo_sqlite_cleanup_callbacks() 461 do_callback(&func->afunc, func->func, argc, argv, context, 0 TSRMLS_CC); in php_sqlite3_func_callback() 563 func = (struct pdo_sqlite_func*)ecalloc(1, sizeof(*func)); in PHP_METHOD() 570 MAKE_STD_ZVAL(func->func); in PHP_METHOD() 571 MAKE_COPY_ZVAL(&callback, func->func); in PHP_METHOD() 581 efree(func); in PHP_METHOD() [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_closures.c | 39 zend_function func; member 74 efree(func); in ZEND_METHOD() 96 invoke->common = closure->func.common; in zend_get_closure_invoke_method() 110 return &closure->func; in zend_get_closure_method_def() 220 *fptr_ptr = &closure->func; in zend_closure_get_closure() 243 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { in zend_closure_get_debug_info() 288 …return (closure->func.type == ZEND_USER_FUNCTION) ? closure->func.op_array.static_variables : NULL; in zend_closure_get_properties() 388 closure->func = *func; in zend_create_closure() 389 closure->func.common.prototype = NULL; in zend_create_closure() 399 (*closure->func.op_array.refcount)++; in zend_create_closure() [all …]
|
H A D | zend_ptr_stack.c | 85 ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_apply() 90 func(stack->elements[i]); in zend_ptr_stack_apply() 95 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elem… in zend_ptr_stack_clean() 97 zend_ptr_stack_apply(stack, func); in zend_ptr_stack_clean()
|
/PHP-5.3/tests/lang/ |
H A D | bug17115.phpt | 5 $func = create_function('',' 9 var_dump($func()); 10 var_dump($func()); 11 var_dump($func());
|
/PHP-5.3/ext/pcntl/ |
H A D | php_signal.c | 25 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument 28 act.sa_handler = func; in php_signal4() 50 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument 52 return php_signal4(signo, func, restart, 0); in php_signal()
|
/PHP-5.3/ext/intl/tests/ |
H A D | badargs.phpt | 11 foreach($funcs as $func) { 12 $rfunc = new ReflectionFunction($func); 16 $res = $func($arg); 18 echo "$func: ";
|
/PHP-5.3/ext/sqlite3/tests/ |
H A D | sqlite3_29_createfunction.phpt | 10 $func = 'strtoupper'; 11 var_dump($db->createfunction($func, $func)); 18 var_dump($db->createfunction($func, $func2));
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_debug_mysqlnd_control_string.phpt | 155 foreach ($functions_all_funcs as $func) { 157 $test_functions['simple'][$func] = $func; 159 $test_functions['doubledot'][$func] = $func; 164 $control_string .= sprintf('%s,', $func); 166 $control_string .= sprintf('%s,', $func); 168 $control_string .= sprintf('%s,', $func); 183 if (isset($functions_trace[$func])) { 184 unset($functions_trace[$func]); 185 unset($test_functions['simple'][$func]); 189 if (isset($functions_trace[$func])) { [all …]
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_typeinfo.c | 433 FUNCDESC *func; in php_com_process_typeinfo() local 478 isprop = (func->invkind & DISPATCH_PROPERTYGET || func->invkind & DISPATCH_PROPERTYPUT); in php_com_process_typeinfo() 480 if (!isprop || lastid != func->memid) { in php_com_process_typeinfo() 482 lastid = func->memid; in php_com_process_typeinfo() 496 ITypeInfo_GetNames(typeinfo, func->memid, names, func->cParams + 1, &cnames); in php_com_process_typeinfo() 502 if (func->elemdescFunc.tdesc.vt != VT_VOID) { in php_com_process_typeinfo() 504 vt_to_string(func->elemdescFunc.tdesc.vt), in php_com_process_typeinfo() 505 func->elemdescFunc.tdesc.vt in php_com_process_typeinfo() 526 for (j = 0; j < func->cParams; j++) { in php_com_process_typeinfo() 555 j == func->cParams - 1 ? ' ' : ',' in php_com_process_typeinfo() [all …]
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | call_user_func_return.phpt | 24 function test($func) 26 debug_zval_dump($func('Direct', 'Call')); 27 debug_zval_dump(call_user_func_array($func, array('User', 'Func')));
|