Commit graph

33 commits

Author SHA1 Message Date
Tom Van Looy
04fb3f28ff Remove superfluous semicolons 2017-06-26 00:23:25 +02:00
Nikita Popov
162aa1a5fc Deprecate __autoload() 2017-02-03 18:52:57 +01:00
Nikita Popov
a8d901a80c Remove zend_version() checks from tests 2017-01-30 22:50:25 +01:00
Anatol Belski
bff4b02c9e add skipif 2016-11-30 11:10:36 +01:00
Nikita Popov
dd9ad0940a Fix get_class_vars() fast-path/slow-path discrepancies
Normalize to the fast-path behavior. In particular, make sure that
the the property visibility check is correct for property names that
are formatted like mangled private properties (but are not). This is
done by only calling zend_check_property_access() for INDIRECT
properties.
2016-11-22 20:49:12 +01:00
Danack
beb1190996 Fixed ext/standard test that calls get_class() 2016-08-13 22:53:03 +01:00
Aaron Piotrowski
771e5cc247 Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error 2016-06-13 09:02:17 -05:00
Xinchen Hui
e7f2c5bd6a Fixed bug #71442 (forward_static_call crash) 2016-01-25 12:13:22 +08:00
Andrea Faulds
e5eb9530ab Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
Dmitry Stogov
edbefd1d5c Fixed tests 2013-12-02 11:53:35 +04:00
Veres Lajos
04145dc2aa typo fixes (argument) 2013-06-10 13:36:17 -07:00
Xinchen Hui
e081c55fb5 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Stanislav Malyshev
3598185a74 fix bug #55475 - implement is_a BC solution 2011-11-09 05:27:45 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Alan Knowles
0db9b9b141 remove paths from is_a and is_subclass tests 2011-09-27 07:59:47 +00:00
Alan Knowles
60093a0ca5 fix is_a errror test so they test correctly against new behaviour of is_a and is_subclass_of 2011-09-27 00:42:56 +00:00
Alan Knowles
779ca152bf move autoloaded is_a test to where all the other is_a tests are 2011-09-27 00:19:43 +00:00
Philip Olson
e89370d4dc Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
Philip Olson
0b9be2918d Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
Dmitry Stogov
adabdede5e Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Dmitry Stogov
293f710827 Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Stefan Marr
478e5d1dd0 Added trait_exists() [TRAITS] [DOC]
- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co
2011-01-09 19:57:41 +00:00
Jani Taskinen
46a94ebaa6 - Fix test 2009-08-06 13:54:21 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Dmitry Stogov
122232aa54 Fixed test 2009-03-16 15:00:00 +00:00
Dmitry Stogov
cc91da1bd7 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:51:32 +00:00
Zoe Slattery
7834afebde removing UEXPECT 2009-03-03 09:59:36 +00:00
Felipe Pena
d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Etienne Kneuss
a1e0945143 MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:44:59 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +00:00