Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/PHP-5.5/Zend/tests/
H A Dbug55247.phpt16 $method = 'method';
20 $test->method();
21 $test->$method();
24 Test::method();
25 Test::$method();
28 method
29 method
30 method
31 method
32 method
[all …]
H A Dbug19859.phpt9 function __call($method,$args)
11 print "test::__call invoked for method '$method'\n";
20 test::__call invoked for method 'fake'
21 test::__call invoked for method 'fake'
22 test::__call invoked for method 'fake'
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_toString_001.phpt24 Method [ <internal:Reflection> static public method export ] {
51 Method [ <internal:Reflection> public method __toString ] {
57 Method [ <internal:Reflection> public method getName ] {
63 Method [ <internal:Reflection> public method isInternal ] {
81 Method [ <internal:Reflection> public method isCloneable ] {
87 Method [ <internal:Reflection> public method getFileName ] {
99 Method [ <internal:Reflection> public method getEndLine ] {
117 Method [ <internal:Reflection> public method hasMethod ] {
124 Method [ <internal:Reflection> public method getMethod ] {
215 Method [ <internal:Reflection> public method isTrait ] {
[all …]
H A DReflectionMethod_getModifiers_basic.phpt10 foreach ($methodArray as $method) {
11 echo "Modifiers for method $method->class::$method->name():\n";
89 Modifiers for method TestClass::foo():
93 Modifiers for method TestClass::stat():
97 Modifiers for method TestClass::priv():
101 Modifiers for method TestClass::prot():
105 Modifiers for method TestClass::fin():
157 Modifiers for method TestClass::foo():
161 Modifiers for method TestClass::stat():
165 Modifiers for method TestClass::priv():
[all …]
H A DReflectionMethod_basic2.phpt6 function reflectMethod($class, $method) {
7 $methodInfo = new ReflectionMethod($class, $method);
9 echo "Reflecting on method $class::$method()\n\n";
54 Reflecting on method DerivedClass::foo()
70 Reflecting on method TestClass::stat()
86 Reflecting on method TestClass::priv()
89 string(%d) "Method [ <user> private method priv ] {
102 Reflecting on method TestClass::prot()
118 Reflecting on method DerivedClass::prot()
134 Reflecting on method TestInterface::int()
[all …]
H A Dclosures_003_v1.phpt8 $method = new ReflectionFunction ($closure);
9 $params = $method->getParameters ();
10 unset ($method);
11 $method = $params[0]->getDeclaringFunction ();
13 echo $method->getName ()."\n";
16 $method = $parameter->getDeclaringFunction ();
18 echo $method->getName ()."\n";
H A Dclosures_003.phpt8 $method = new ReflectionMethod ($closure, '__invoke');
9 $params = $method->getParameters ();
10 unset ($method);
11 $method = $params[0]->getDeclaringFunction ();
13 echo $method->getName ()."\n";
16 $method = $parameter->getDeclaringFunction ();
18 echo $method->getName ()."\n";
H A Dbug60367.phpt21 $method = new ReflectionMethod("b::call");
22 $method->invoke(null);
23 $method->invokeArgs(null, array());
24 $method = new ReflectionMethod("A::call");
25 $method->invoke(null);
26 $method->invokeArgs(null, array());
H A DReflectionMethod_basic3.phpt6 function reflectMethod($class, $method) {
7 $methodInfo = new ReflectionMethod($class, $method);
9 echo "Reflecting on method $class::$method()\n\n";
57 Reflecting on method DerivedClass::foo()
71 Reflecting on method TestClass::stat()
85 Reflecting on method TestClass::priv()
99 Reflecting on method TestClass::prot()
113 Reflecting on method DerivedClass::prot()
127 Reflecting on method TestInterface::int()
141 Reflecting on method ReflectionProperty::__construct()
[all …]
H A DReflectionMethod_basic4.phpt6 function reflectMethod($class, $method) {
7 $methodInfo = new ReflectionMethod($class, $method);
9 echo "Reflecting on method $class::$method()\n\n";
60 Reflecting on method DerivedClass::foo()
74 Reflecting on method TestClass::stat()
88 Reflecting on method TestClass::priv()
102 Reflecting on method TestClass::prot()
116 Reflecting on method DerivedClass::prot()
130 Reflecting on method TestInterface::int()
144 Reflecting on method ReflectionProperty::__construct()
[all …]
/PHP-5.5/ext/xmlrpc/tests/
H A D002.phpt8 $r = xmlrpc_encode_request("method", array());
9 var_dump(xmlrpc_decode_request($r, $method));
10 var_dump($method);
12 $r = xmlrpc_encode_request("method", 1);
14 var_dump($method);
18 var_dump($method);
22 var_dump($method);
26 var_dump($method);
33 string(6) "method"
38 string(6) "method"
[all …]
H A Dbug47818.phpt10 private $method;
13 $this->method = $method_name;
14 print "Inside impl(): {$this->method}\n";
27 function getMethod() {return $this->method;}
34 $method = $x->getMethod();
36 print "Global scope: $method\n";
/PHP-5.5/ext/oci8/tests/
H A Dreflection2.phpt30 Method [ <internal%s> public method load ] {
36 Method [ <internal%s> public method tell ] {
42 Method [ <internal%s> public method truncate ] {
49 Method [ <internal%s> public method erase ] {
57 Method [ <internal%s> public method flush ] {
83 Method [ <internal%s> public method read ] {
90 Method [ <internal%s> public method eof ] {
96 Method [ <internal%s> public method seek ] {
104 Method [ <internal%s> public method write ] {
119 Method [ <internal%s> public method size ] {
[all …]
/PHP-5.5/scripts/dev/generate-phpt/src/testcase/
H A DgtVariationContainerMethod.php7 protected $method; variable in gtVariationContainerMethod
18 * @param gtMethod $method
20 public function setMethod(gtMethod $method) { argument
21 $this->method = $method;
31 …$numberOfArguments = count($this->method->getMandatoryArgumentNames()) + count($this->method->getO…
38 $testCase->setUp($this->method, $i, $d);
/PHP-5.5/ext/mysqli/tests/
H A Dreflection_tools.inc18 if ($method = $class->getConstructor())
19 inspectMethod($method);
23 foreach ($methods as $method)
24 $tmp[$method->getName()] = $method;
27 foreach ($tmp as $method)
28 inspectMethod($method);
74 function inspectMethod(&$method) {
76 printf("\nInspecting method '%s'\n", $method->getName());
92 if ($params = $method->getParameters()) {
99 inspectParameter($method, $param);
[all …]
H A Dmysqli_class_mysqli_reflection.phpt40 Inspecting method 'mysqli'
204 Inspecting method 'close'
220 Inspecting method 'commit'
250 Inspecting method 'connect'
308 Inspecting method 'debug'
450 Inspecting method 'init'
466 Inspecting method 'kill'
632 Inspecting method 'ping'
648 Inspecting method 'poll'
722 Inspecting method 'query'
[all …]
/PHP-5.5/Zend/tests/traits/
H A Dbug64235.phpt2 Bug #64235 (Insteadof not work for class method in 5.4.11)
8 public function method()
10 print_r('Parent method');
17 public function method()
19 print_r('Trait method');
28 TestTrait::method as methodAlias;
29 TestParentClass::method insteadof TestTrait;
H A Dbug64235b.phpt2 Bug #64235 (Insteadof not work for class method in 5.4.11)
8 public function method()
10 print_r('Parent method');
17 public function method()
19 print_r('Trait method');
28 TestTrait::method as methodAlias;
29 TestParentClass::method as TestParent;
/PHP-5.5/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php47 $method = new gtMethod($options->getOption('c'), $options->getOption('m')); variable
49 $method->setArgumentNames();
50 $method->setArgumentLists();
51 $method->setInitialisationStatements();
53 $method->setConstructorArgumentNames();
54 $method->setConstructorInitStatements();
55 $method->setConstructorArgumentList();
70 $testCase->setMethod($method);
83 $testCase->setMethod($method);
98 $testCaseContainer->setMethod($method);
/PHP-5.5/sapi/cli/tests/
H A D005.phpt65 Method [ <internal:Core> final private method __clone ] {
68 Method [ <internal:Core, ctor> public method __construct ] {
77 Method [ <internal:Core> public method __wakeup ] {
80 Method [ <internal:Core> final public method getMessage ] {
83 Method [ <internal:Core> final public method getCode ] {
86 Method [ <internal:Core> final public method getFile ] {
89 Method [ <internal:Core> final public method getLine ] {
92 Method [ <internal:Core> final public method getTrace ] {
95 Method [ <internal:Core> final public method getPrevious ] {
98 Method [ <internal:Core> final public method getTraceAsString ] {
[all …]
/PHP-5.5/ext/openssl/tests/
H A D011.phpt8 $method = "AES-128-CBC";
11 $ivlen = openssl_cipher_iv_length($method);
16 $encrypted = openssl_encrypt($data, $method, $password, 0, $iv);
17 $output = openssl_decrypt($encrypted, $method, $password, 0, $iv);
19 $encrypted = openssl_encrypt($data, $method, $password, OPENSSL_RAW_DATA, $iv);
20 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA, $iv);
24 $encrypted = openssl_encrypt($padded_data, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDIN…
25 $output = openssl_decrypt($encrypted, $method, $password, OPENSSL_RAW_DATA|OPENSSL_ZERO_PADDING, $i…
/PHP-5.5/ext/standard/tests/array/
H A Darray_map_object3.phpt12 * 1) child class method using parent object
13 * 2) parent class method using child object
14 * 3) child class method using parent class
15 * 4) parent class method using child class
50 echo "-- accessing parent method from child class --\n";
53 echo "-- accessing child method from parent class --\n";
56 echo "-- accessing parent method using child class object --\n";
66 -- accessing parent method from child class --
75 -- accessing child method from parent class --
79 -- accessing parent method using child class object --
[all …]
/PHP-5.5/ext/soap/interop/
H A Dclient_round2.php38 $method = $x->test_name;
39 if ($method != $prev_method) {
40 $prev_method = $method;
42 if ($sel_method == $method) $selected = ' SELECTED';
43 echo "<option value='$method'$selected>$method</option>\n";
49 function endpointTestForm($test, $endpoint, $method, $paramType, $useWSDL) argument
58 methodList($test, $method);
/PHP-5.5/ext/spl/tests/
H A Dspl_autoload_007.phpt60 Function 'MyAutoLoader::notExist' not found (class 'MyAutoLoader' does not have a method 'notExist')
63 Function 'MyAutoLoader::noAccess' not callable (cannot access protected method MyAutoLoader::noAcce…
69 Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dynaLoad() should n…
77 Passed array does not specify an existing static method (class 'MyAutoLoader' does not have a metho…
85 Passed array does not specify a callable static method (cannot access protected method MyAutoLoader…
101 Passed array specifies a non static method but no object (non-static method MyAutoLoader::dynaLoad(…
110 Passed array does not specify an existing method (class 'MyAutoLoader' does not have a method 'notE…
119 Passed array does not specify a callable method (cannot access protected method MyAutoLoader::noAcc…
/PHP-5.5/ext/date/tests/
H A DDateTimeZone_clone_basic4.phpt2 Test clone of DateTimeZone derived objects with __clone magic method
10 echo "-- DateTimeExt1 __clone magic method called --\n";
14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n";
19 //verify clone by calling method on new object
25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***
26 -- DateTimeExt1 __clone magic method called --

Completed in 44 milliseconds

12345678910>>...29