/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionMethod_getModifiers_basic.phpt | 10 foreach ($methodArray as $method) { 11 echo "Modifiers for method $method->class::$method->name():\n"; 12 var_dump($method->getModifiers()); 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(): [all …]
|
H A D | ReflectionClass_toString_001.phpt | 24 Method [ <internal:Reflection> static public method export ] { 38 Method [ <internal:Reflection> final private method __clone ] { 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 getFileName ] { 93 Method [ <internal:Reflection> public method getEndLine ] { 111 Method [ <internal:Reflection> public method hasMethod ] { 118 Method [ <internal:Reflection> public method getMethod ] { 125 Method [ <internal:Reflection> public method getMethods ] { [all …]
|
H A D | ReflectionMethod_basic2.phpt | 6 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 D | closures_003.phpt | 8 $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 D | bug60367.phpt | 21 $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 D | ReflectionMethod_basic3.phpt | 6 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 D | ReflectionMethod_basic4.phpt | 6 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 …]
|
H A D | bug38465.phpt | 23 foreach ($clazz->getMethods() as $method) { 24 foreach ($method->getParameters() as $param) { 26 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '… 36 foreach ($clazz->getMethods() as $method) { 37 foreach ($method->getParameters() as $param) { 39 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
|
/PHP-5.3/ext/xmlrpc/tests/ |
H A D | 002.phpt | 8 $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 D | bug47818.phpt | 10 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.3/ext/oci8/tests/ |
H A D | reflection2.phpt | 30 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.3/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtVariationContainerMethod.php | 7 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.3/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 18 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 D | mysqli_class_mysqli_reflection.phpt | 42 Inspecting method 'mysqli' 192 Inspecting method 'close' 208 Inspecting method 'commit' 224 Inspecting method 'connect' 282 Inspecting method 'debug' 424 Inspecting method 'init' 440 Inspecting method 'kill' 606 Inspecting method 'ping' 622 Inspecting method 'poll' 696 Inspecting method 'query' [all …]
|
/PHP-5.3/scripts/dev/generate-phpt/src/ |
H A D | generate-phpt.php | 47 $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.3/sapi/cli/tests/ |
H A D | 005.phpt | 65 Method [ <internal:Core> final private method __clone ] { 68 Method [ <internal:Core, ctor> public method __construct ] { 77 Method [ <internal:Core> final public method getMessage ] { 80 Method [ <internal:Core> final public method getCode ] { 83 Method [ <internal:Core> final public method getFile ] { 86 Method [ <internal:Core> final public method getLine ] { 89 Method [ <internal:Core> final public method getTrace ] { 92 Method [ <internal:Core> final public method getPrevious ] { 95 Method [ <internal:Core> final public method getTraceAsString ] { 98 Method [ <internal:Core> public method __toString ] {
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_map_object3.phpt | 12 * 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.3/ext/soap/interop/ |
H A D | client_round2.php | 38 $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.3/Zend/tests/ |
H A D | bug19859.phpt | 9 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'
|
H A D | bug50383.phpt | 7 public static function __callStatic($method, $args) { 8 throw new Exception("Missing static method '$method'\n"); 10 public function __call($method, $args) { 11 throw new Exception("Missing method '$method'\n"); 39 Missing static method 'ThrowException' 85 Missing method 'foo'
|
H A D | bug54910.phpt | 6 public function __call($method, $args) { 7 if (stripos($method, 'get') === 0) { 10 die("No such method - '$method'\n"); 28 No such method - 'noSuchMethod'
|
/PHP-5.3/ext/spl/tests/ |
H A D | spl_autoload_007.phpt | 60 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.3/ext/openssl/tests/ |
H A D | 011.phpt | 8 $method = "AES-128-CBC"; 11 $ivlen = openssl_cipher_iv_length($method); 16 $encrypted = openssl_encrypt($data, $method, $password, false, $iv); 17 $output = openssl_decrypt($encrypted, $method, $password, false, $iv); 19 $encrypted = openssl_encrypt($data, $method, $password, true, $iv); 20 $output = openssl_decrypt($encrypted, $method, $password, true, $iv);
|
/PHP-5.3/ext/date/tests/ |
H A D | DateTimeZone_clone_basic4.phpt | 2 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 --
|
/PHP-5.3/scripts/dev/ |
H A D | search_underscores.php | 57 foreach(get_class_methods($c) as $method) { 59 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) { 61 $extensions[$ext][$c][] = $method; 89 foreach($methods as $method) { 90 echo " Method: $method\n";
|