/PHP-5.3/Zend/tests/ |
H A D | method_exists_002.phpt | 2 Testing method_exists() 40 var_dump(method_exists('baz', 'stat_a')); 41 var_dump(method_exists('baz', 'stat_b')); 42 var_dump(method_exists('baz', 'stat_c')); 44 var_dump(method_exists('baz', 'stat_a2')); 45 var_dump(method_exists('baz', 'stat_b2')); 46 var_dump(method_exists('baz', 'stat_c2')); 50 var_dump(method_exists($baz, 'method_a')); 54 var_dump(method_exists($baz, 'stat_a')); 55 var_dump(method_exists($baz, 'stat_b')); [all …]
|
H A D | method_exists.phpt | 2 method_exists() segfaults 6 var_dump(method_exists('testclass','testfunc')); 7 var_dump(method_exists('testclass','nonfunc'));
|
H A D | bug32429.phpt | 2 Bug #32429 (method_exists() always return TRUE if __call method exists) 8 var_dump(method_exists($this, 'test')); 10 if (method_exists($this, 'test')) {
|
H A D | bug52060.phpt | 2 Bug #52060 (Memory leak when passing a closure to method_exists()) 8 var_dump(method_exists($closure, '__invoke')); // true
|
H A D | bug50810.phpt | 26 return method_exists($this, 'foo'); 37 var_dump(method_exists($example, 'propertyFooExists'));
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | method_exists_error_001.phpt | 2 Test method_exists() function : error conditions - wrong number of args 5 /* Prototype : proto bool method_exists(object object, string method) 11 echo "*** Testing method_exists() : error conditions ***\n"; 14 //Test method_exists with one more than the expected number of arguments 19 var_dump( method_exists($object, $method, $extra_arg) ); 21 // Testing method_exists with one less than the expected number of arguments 24 var_dump( method_exists($object) ); 29 *** Testing method_exists() : error conditions *** 31 -- Testing method_exists() function with more than expected no. of arguments -- 33 Warning: method_exists() expects exactly 2 parameters, 3 given in %s on line 16 [all …]
|
H A D | method_exists_variation_003.phpt | 2 Test method_exists() function : variation - Case sensitivity 5 /* Prototype : proto bool method_exists(object object, string method) 11 echo "*** Testing method_exists() : variation ***\n"; 17 var_dump(method_exists(new casesensitivitytest, 'myMetHOD')); 18 var_dump(method_exists('casesensiTivitytest', 'myMetHOD')); 23 *** Testing method_exists() : variation ***
|
H A D | method_exists_variation_002.phpt | 2 Test method_exists() function : usage variations - unexpected type for arg 2 5 /* Prototype : proto bool method_exists(object object, string method) 20 echo "*** Testing method_exists() : usage variations ***\n"; 80 var_dump( method_exists($object, $value) ); 86 *** Testing method_exists() : usage variations *** 118 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 122 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 126 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 130 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) 134 Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77) [all …]
|
H A D | method_exists_basic_002.phpt | 2 method_exists() on internal classes 13 var_dump(method_exists("exception", "getmessage")); 15 var_dump(method_exists("stdclass", "nonexistent")); 19 var_dump(method_exists(new exception, "getmessage")); 21 var_dump(method_exists(new stdclass, "nonexistent"));
|
H A D | method_exists_variation_001.phpt | 2 Test method_exists() function : usage variations - unexpected type for arg 1 5 /* Prototype : proto bool method_exists(object object, string method) 20 echo "*** Testing method_exists() : usage variations ***\n"; 81 var_dump( method_exists($value, $method) ); 87 *** Testing method_exists() : usage variations ***
|
H A D | method_exists_basic_003.phpt | 2 method_exists() on non-existent class, with __autoload(). 15 var_dump(method_exists('UndefC', 'func'));
|
H A D | method_exists_basic_001.phpt | 2 method_exists() on userspace classes; static & non-static methods with various visibilities. 40 var_dump(method_exists("C", $method)); 47 var_dump(method_exists($myC, $method));
|
/PHP-5.3/ext/date/tests/ |
H A D | DateInterval_format_a.phpt | 10 if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
|
H A D | DateInterval_format.phpt | 10 <?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | bug36802.phpt | 17 if (method_exists($mysql, 'set_charset')) {
|
H A D | mysqli_stmt_get_warnings.phpt | 68 if (!method_exists($warning, 'next'))
|
H A D | mysqli_get_warnings.phpt | 49 if (!method_exists($warning, 'next'))
|
/PHP-5.3/ext/xmlreader/tests/ |
H A D | 011.phpt | 6 if (!method_exists($reader, 'readInnerXml')) print "skip";
|
H A D | expand.phpt | 7 if (!method_exists($reader, 'expand')) print "skip";
|
H A D | 013.phpt | 5 <?php if (!method_exists('XMLReader','setSchema')) die('skip XMLReader::setSchema() not supported')…
|
/PHP-5.3/ext/pdo/tests/ |
H A D | pdo_018.phpt | 116 if (method_exists($obj, 'serialize'))
|
/PHP-5.3/Zend/ |
H A D | zend_builtin_functions.c | 49 static ZEND_FUNCTION(method_exists); 239 ZEND_FE(method_exists, arginfo_method_exists) 1060 ZEND_FUNCTION(method_exists) in ZEND_FUNCTION() argument
|
/PHP-5.3/ |
H A D | UPGRADING | 59 accessibility (like method_exists()).
|
H A D | NEWS | 1961 - Fixed bug #52060 (Memory leak when passing a closure to method_exists()). 2669 accessibility (like method_exists()). (Felipe) 6580 - Fixed bug #32429 (method_exists() always return TRUE if __call method
|