/PHP-5.5/ext/reflection/tests/ |
H A D | 025.phpt | 18 $func = new ReflectionFunction("test"); 20 var_dump($func->export("test")); 22 var_dump($func->getName()); 24 var_dump($func->isInternal()); 26 var_dump($func->isUserDefined()); 28 var_dump($func->getFilename()); 30 var_dump($func->getStartline()); 32 var_dump($func->getEndline()); 34 var_dump($func->getDocComment()); 42 var_dump($func->returnsReference()); [all …]
|
H A D | 009.phpt | 16 $func = new ReflectionFunction("test"); 18 var_dump($func->export("test")); 20 var_dump($func->getName()); 22 var_dump($func->isInternal()); 24 var_dump($func->isUserDefined()); 26 var_dump($func->getFilename()); 28 var_dump($func->getStartline()); 30 var_dump($func->getEndline()); 32 var_dump($func->getDocComment()); 40 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');
|
H A D | ReflectionFunction_getClosure_basic.phpt | 23 $func = new ReflectionFunction( 'foo' ); 24 $closure = $func->getClosure(); 27 $func = new ReflectionFunction( 'bar' ); 28 $closure = $func->getClosure();
|
/PHP-5.5/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.5/Zend/ |
H A D | zend_closures.c | 39 zend_function func; member 75 efree(func); in ZEND_METHOD() 121 ce = closure->func.common.scope; in ZEND_METHOD() 133 ce = closure->func.common.scope; in ZEND_METHOD() 172 return &closure->func; in zend_get_closure_method_def() 289 …zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr TSRMLS_… in zend_closure_clone() 303 *fptr_ptr = &closure->func; in zend_closure_get_closure() 333 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { in zend_closure_get_debug_info() 450 closure->func = *func; in zend_create_closure() 472 if(func->common.scope != NULL) { in zend_create_closure() [all …]
|
/PHP-5.5/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()
|
/PHP-5.5/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.5/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!');
|
/PHP-5.5/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.5/Zend/tests/traits/ |
H A D | bug61998.phpt | 7 func as newFunc; 10 public function func() { 16 public function func() { 22 public function func() { 32 func as newFunc; 33 func as func2; 51 $f->func(); //from Foo 55 $b->func(); //from Bar
|
/PHP-5.5/ext/intl/common/ |
H A D | common_date.cpp | 42 const char *func TSRMLS_DC) 67 "that's too large", func); 110 intl_error *err, const char *func TSRMLS_DC) 134 "object", func); 151 "initialized", func); 161 datetime, 1, NULL, func TSRMLS_CC); 164 "time zone", func); 211 intl_datetime_decompose(z, &rv, NULL, err, func TSRMLS_CC); 217 "constructed", func); 226 "Calendar::getTime() has failed", func); [all …]
|
H A D | common_date.h | 31 …ne(int type, void *object, int is_datetime, intl_error *outside_error, const char *func TSRMLS_DC); 33 intl_error *err, const char *func TSRMLS_DC); 37 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func TSRMLS_DC);
|
/PHP-5.5/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.5/ext/intl/tests/ |
H A D | badargs.phpt | 11 foreach($funcs as $func) { 12 $rfunc = new ReflectionFunction($func); 18 $res = $func($arg); 21 echo "$func: ";
|
/PHP-5.5/ext/pcntl/ |
H A D | php_signal.c | 28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument 34 act.sa_handler = func; in php_signal4() 62 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument 64 return php_signal4(signo, func, restart, 0); in php_signal()
|
/PHP-5.5/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.5/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.5/ext/com_dotnet/ |
H A D | com_typeinfo.c | 437 FUNCDESC *func; in php_com_process_typeinfo() local 482 isprop = (func->invkind & DISPATCH_PROPERTYGET || func->invkind & DISPATCH_PROPERTYPUT); in php_com_process_typeinfo() 484 if (!isprop || lastid != func->memid) { in php_com_process_typeinfo() 486 lastid = func->memid; in php_com_process_typeinfo() 500 ITypeInfo_GetNames(typeinfo, func->memid, names, func->cParams + 1, &cnames); in php_com_process_typeinfo() 506 if (func->elemdescFunc.tdesc.vt != VT_VOID) { in php_com_process_typeinfo() 508 vt_to_string(func->elemdescFunc.tdesc.vt), in php_com_process_typeinfo() 509 func->elemdescFunc.tdesc.vt in php_com_process_typeinfo() 530 for (j = 0; j < func->cParams; j++) { in php_com_process_typeinfo() 559 j == func->cParams - 1 ? ' ' : ',' in php_com_process_typeinfo() [all …]
|