1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00
Commit Graph

3126 Commits

Author SHA1 Message Date
Andi Gutmans 5ba810ee46 - Refix bug #24773 2003-12-11 10:21:16 +00:00
Marcus Boerger 904373a830 Handle getter failure and allow to bypass thrown exceptions. 2003-12-11 09:56:06 +00:00
Marcus Boerger b8afd8343a read_dimension() handler might return 0, handle this. 2003-12-11 09:52:33 +00:00
a36a6a4b6e ChangeLog update 2003-12-11 01:36:11 +00:00
Marcus Boerger 310d6c567a Do not double copy the string 2003-12-10 10:24:35 +00:00
1ecf87238f ChangeLog update 2003-12-10 01:32:01 +00:00
foobar a08c1e4dce - Brought ext/bcmath to the new millennium
# consistency..
2003-12-09 23:59:33 +00:00
Andi Gutmans d0d7badfb9 - Fix overallocation (thanks to Ilia) 2003-12-09 08:56:04 +00:00
fd6270d515 ChangeLog update 2003-12-09 01:34:47 +00:00
Derick Rethans 03f8baa87e - Make it compile again 2003-12-08 13:26:03 +00:00
9ad6aaea63 ChangeLog update 2003-12-08 01:30:07 +00:00
Stanislav Malyshev dc6a849a2f Apply Andrey Hristov's patch adding get_declared_interfaces() 2003-12-07 18:54:31 +00:00
e7bad9e272 ChangeLog update 2003-12-07 01:32:57 +00:00
Marcus Boerger 8a8deee8a0 This test is against interfaces not abstract classes. 2003-12-06 19:02:12 +00:00
Marcus Boerger 30af3ba523 Show the exception message again after __toString() magic has been dropped. 2003-12-06 18:12:26 +00:00
6ae1f19387 ChangeLog update 2003-12-06 01:31:45 +00:00
Andi Gutmans f4d6a5c7cf - Remove two unneeded convert_to_string() (found by Marcus)
- Change illegal use of string offset to E_ERROR
2003-12-05 16:28:54 +00:00
Ilia Alshanetsky aa1b20614b Fixed crash demonstrated with ext/dom/tests/dom003.phpt test case. 2003-12-05 01:44:45 +00:00
036e8dea10 ChangeLog update 2003-12-05 01:31:47 +00:00
Moriyoshi Koizumi 4a38020ddd Revert crap. 2003-12-04 17:38:21 +00:00
Moriyoshi Koizumi bcbc036ac1 Raise error in case dereference is performed on a scalar value. 2003-12-04 13:38:30 +00:00
ab5066008f ChangeLog update 2003-12-04 01:31:59 +00:00
Ilia Alshanetsky 54a73a6c06 Test case for bug #24773. 2003-12-03 23:00:30 +00:00
Moriyoshi Koizumi 5fe26e76eb This kind of error should be caught. (suggested by Andi, thanks) 2003-12-03 22:08:58 +00:00
Moriyoshi Koizumi 7ac854e710 Fix bug #24773 (unset()ing string offsets crashes PHP) 2003-12-03 19:10:38 +00:00
Derick Rethans 611219208c - Remove newline from error message 2003-12-03 15:01:04 +00:00
4dce55f28b ChangeLog update 2003-12-03 01:32:23 +00:00
Marcus Boerger ff57d33fe2 Remove automatic call to __toString() since it is supposed to cause too
much trouble. See discussion on the mailing list.
2003-12-02 22:08:51 +00:00
Andi Gutmans 23b231d0eb - Revert the revert of these patches. This overloading can only be used
- by C extensions such as SimpleXML and *NOT* PHP code. Reasons given
- on the mailing list and problem with reentrancy inside the opcodes.
2003-12-02 21:09:24 +00:00
Andi Gutmans d7f839cce7 - Fix for bug #26182 2003-12-02 12:06:03 +00:00
Andi Gutmans 393376d936 - Don't include E_STRICT in E_ALL. 2003-12-02 09:14:18 +00:00
Marcus Boerger 32927a9ffb Free the zval container only if it should be freed and was not copied. 2003-12-02 07:09:46 +00:00
2d3800bdd7 ChangeLog update 2003-12-02 01:31:57 +00:00
Andi Gutmans 98e1a3dbcb - Change to E_STRICT so as not to break existing scripts.
- Thanks Edin
2003-12-01 12:35:46 +00:00
Andi Gutmans 709060e161 - Nuke property_exists(). We need to fix isset() and this is already
- supported in reflection API. In any case, it's best not to add new
- functions in the general namespace except for keeping engine consistency
(which would have been true in this case)
2003-12-01 11:53:42 +00:00
Andi Gutmans ee64b61e94 - Revert auto-conversion in parameter API 2003-12-01 11:50:57 +00:00
Andi Gutmans a411d608fa - Don't automatically call __toString() in convert_to_string_ex().
- use __toString() in your code.
- Keep the auto-case in make_printable_zval.
2003-12-01 11:47:52 +00:00
42f04fbd43 ChangeLog update 2003-12-01 01:31:51 +00:00
Marcus Boerger 0091b5ca1d Check return value of exception::__tostring() 2003-11-30 13:53:19 +00:00
Marcus Boerger e0946d9609 Fix test 2003-11-30 13:18:56 +00:00
6dd2f536a4 ChangeLog update 2003-11-30 01:31:13 +00:00
Marcus Boerger 056c654f4f Fix memleak 2003-11-29 19:26:41 +00:00
Ilia Alshanetsky 99dec6927c Fixed bug #26463 (Incorrect handling of semicolons after heredoc) 2003-11-29 19:05:14 +00:00
Marcus Boerger 6344f662a5 This takes the address of a zval ptr 2003-11-29 18:23:35 +00:00
Marcus Boerger c7d27ad938 Add macros to return values of other zvals.
This is needed because one cannot use REPLACE_ZVAL_VALUE with return_value.
2003-11-29 18:15:11 +00:00
Ilia Alshanetsky cf196ac625 Restore original patch for bug #26281.
# Andi if you have a time & interest please see if perhaps a better
# solution can be implemented. Thanks.
2003-11-29 17:33:25 +00:00
Marcus Boerger af5489d91b Revert accidential commit until decision 2003-11-29 17:05:17 +00:00
Marcus Boerger 9ffd44e94a Make exception code more robust:
- Fix error in calculation of trace-string length
- Allow to overload __strostring() and make it work for uncaught exceptions
- Show exception thrown while displaying exceptions
2003-11-29 17:03:45 +00:00
55775e5273 ChangeLog update 2003-11-29 01:32:19 +00:00
Ilia Alshanetsky 7203684680 Add removed lcname, it is still needed. 2003-11-28 14:42:25 +00:00