/PHP-5.5/Zend/tests/ |
H A D | indirect_call_array_002.phpt | 2 Indirect method call by array - Invalid method name 11 Fatal error: Call to undefined method stdClass::b() in %s on line %d
|
H A D | objects_027.phpt | 2 Testing 'new static;' calling parent method 30 Strict Standards: Non-static method foo::test() should not be called statically in %s on line %d 32 Strict Standards: Non-static method bar::show() should not be called statically in %s on line %d 38 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method fo… 40 Strict Standards: Non-static method bar::show() should not be called statically in %s on line %d
|
H A D | ns_010.phpt | 14 echo "method ok\n"; 33 method ok 34 method ok 35 method ok
|
H A D | bug30451.phpt | 10 protected static function method() { 20 var_dump(self::method()); 21 var_dump(parent::method());
|
H A D | ns_037.phpt | 14 echo "method ok\n"; 33 method ok 34 method ok 35 method ok
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionClass_hasMethod_basic.phpt | 11 //Check if C has public method publicFoo 14 //Check if C has protected method protectedFoo 17 //Check if C has private method privateFoo 20 //Check if C has static method staticFoo 23 //C should not have method bar
|
H A D | ReflectionMethod_getClosure_basic.phpt | 6 * Description: Returns a dynamically created closure for the method 37 $method = $staticclass->getMethod( 'foo' ); 38 $closure = $method->getClosure(); 41 $method = $class->getMethod( 'foo' ); 43 $closure = $method->getClosure( $object );
|
H A D | ReflectionMethod_invokeArgs_error3.phpt | 50 echo "\nStatic method:\n"; 57 echo "\nPrivate method:\n"; 64 echo "\nAbstract method:\n"; 88 string(72) "Given object is not an instance of the class this method was declared in" 95 Static method: 111 Private method: 112 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod" 114 Abstract method: 115 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
H A D | ReflectionMethod_getClosureThis.phpt | 33 $method = $staticclass->getMethod( 'foo' ); 34 $closure = $method->getClosure(); 39 $method = $class->getMethod( 'foo' ); 41 $closure = $method->getClosure( $object );
|
H A D | ReflectionMethod_setAccessible.phpt | 96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod" 97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod" 98 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod" 99 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod" 100 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" 101 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" 102 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod" 103 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod"
|
H A D | bug32981.phpt | 15 foreach ($class->getMethods() as $method) 17 var_dump($method->getName()); 18 $arr_static_vars[] = $method->getStaticVariables();
|
H A D | ReflectionMethod_getStaticVariables_basic.phpt | 23 echo "Public method:\n"; 27 echo "\nPrivate method:\n"; 41 Public method: 51 Private method:
|
H A D | ReflectionMethod_getClosure_error.phpt | 6 * Description: Returns a dynamically created closure for the method 33 $method = $class->getMethod( 'foo' ); 41 var_dump( $method->getClosure( $object, 'foobar' ) ); 44 $closure = $method->getClosure(); 48 var_dump( $method->getClosure( $fakeobj ) ); 72 string(72) "Given object is not an instance of the class this method was declared in"
|
H A D | ReflectionClass_toString_002.phpt | 2 ReflectionClass::__toString() - verify 'inherits', 'overwrites' and 'prototype' parts of method rep… 47 Method [ <user> public method f ] { 71 Method [ <user, overwrites A, prototype A> public method f ] { 95 Method [ <user, inherits B, prototype A> public method f ] { 119 Method [ <user, overwrites B, prototype A> public method f ] {
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_map_object2.phpt | 2 Test array_map() function : object functionality - with non-existent class and method 15 echo "*** Testing array_map() : with non-existent class and method ***\n"; 31 echo "-- with existent class and non-existent method --\n"; 37 *** Testing array_map() : with non-existent class and method *** 42 -- with existent class and non-existent method -- 44 … parameter 1 to be a valid callback, class 'SimpleClass' does not have a method 'non-existent' in …
|
H A D | array_reduce_variation3.phpt | 20 echo "\n--- Static method callback ---\n"; 23 echo "\n--- Instance method callback ---\n"; 31 --- Static method callback --- 34 --- Instance method callback ---
|
H A D | array_intersect_uassoc_variation10.phpt | 15 // define some class with method 28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\… 32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --… 40 -- Testing array_intersect_uassoc() function using class with static method as callback -- 50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
|
/PHP-5.5/ext/spl/tests/ |
H A D | RecursiveCallbackFilterIteratorTest.phpt | 32 'instance method' => function() { return array(new A, 'test'); }, 33 'static method' => function() { return array('B', 'test'); }, 34 'static method (2)' => function() { return 'B::test'; }, 64 = instance method = 79 = static method = 94 = static method (2) =
|
/PHP-5.5/ext/xmlrpc/tests/ |
H A D | bug61097.phpt | 9 $method = 'abc'; 10 xmlrpc_server_register_introspection_callback($server, $method); 11 xmlrpc_server_register_method($server, 'abc', $method);
|
H A D | bug51288.phpt | 7 $method = NULL; 9 var_dump(xmlrpc_decode_request($req, $method)); 10 var_dump($method);
|
/PHP-5.5/ext/intl/tests/ |
H A D | breakiter_factories_basic.phpt | 18 foreach ($m as $method) { 19 echo "===== $method =====\n"; 20 $o1 = call_user_func(array('IntlBreakIterator', $method), 'ja'); 22 $o2 = call_user_func(array('IntlBreakIterator', $method), NULL);
|
/PHP-5.5/ext/openssl/tests/ |
H A D | openssl_encrypt_error.phpt | 8 $method = "AES-128-CBC"; 15 var_dump(openssl_encrypt($object, $method, $password)); 17 var_dump(openssl_encrypt($data, $method, $object)); 18 var_dump(openssl_encrypt($arr, $method, $object)); 20 var_dump(openssl_encrypt($data, $method, $arr));
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | sapi_apache.c | 95 zval *method; in apache_php_module_hook() local 99 ALLOC_ZVAL(method); in apache_php_module_hook() 100 ZVAL_STRING(method, tmp +2, 1); in apache_php_module_hook() 102 … call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC); in apache_php_module_hook() 104 zval_dtor(method); in apache_php_module_hook()
|
/PHP-5.5/ext/date/tests/ |
H A D | DateTime_fix_createFromFormat.phpt | 20 echo "Format method: " . $orig->format("D., M. j, Y g:iA") . "\n"; 21 echo "createFromFormat method: " . $fromFormat->format("D., M. j, Y g:iA") . "\n"; 27 Format method: Thu., Nov. 29, 2012 5:00PM 28 createFromFormat method: Thu., Nov. 29, 2012 5:00PM
|
/PHP-5.5/Zend/tests/traits/bugs/ |
H A D | alias-semantics02.phpt | 3 method body of the original method. 4 It should also work incase the method is fully qualified.
|