Xinchen Hui
57e7c7bd49
tab
2012-08-18 11:57:53 +08:00
Xinchen Hui
72b9b8f380
Make the codes clearer, and also check continue statement
2012-08-18 11:44:09 +08:00
Xinchen Hui
f2a8912e61
Refactor examing of jumping out of finally block
2012-08-18 00:16:34 +08:00
Xinchen Hui
2449365238
Fixed context info in error message
2012-08-17 21:18:20 +08:00
Xinchen Hui
acd402d4e7
typo
2012-08-16 23:01:58 +08:00
Xinchen Hui
0312d0a262
Prevents goto
out of a finally block
2012-08-16 18:17:26 +08:00
Xinchen Hui
154fe7486d
typo
2012-08-14 14:17:27 +08:00
Xinchen Hui
f82be0550b
add test for alone try block, and update test scripts summary
2012-08-14 14:08:38 +08:00
Xinchen Hui
c64f4e736c
Add functions declarations, use tabs
2012-08-14 08:59:40 +08:00
Anatoliy Belsky
baea290b6c
fix windows build
2012-08-13 19:44:45 +02:00
Xinchen Hui
80d5ae3cea
Implemented 'finally' keywords for php
...
RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will implemented
later. thanks
2012-08-13 21:48:39 +08:00
Xinchen Hui
253760bb6b
Merge branch 'PHP-5.4'
2012-08-12 21:00:01 +08:00
Xinchen Hui
dda0565b53
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-12 20:58:45 +08:00
Xinchen Hui
4970926e45
Fixed bug #62763 (register_shutdown_function and extending class)
2012-08-12 20:58:09 +08:00
Xinchen Hui
9787e7af44
Merge branch 'PHP-5.4'
2012-08-12 12:02:17 +08:00
Xinchen Hui
75f6c8d42c
Revert "zend_make_printable_zval choses cast_object over __toString"
...
This reverts commit a5dfd41494
.
2012-08-12 12:02:06 +08:00
Xinchen Hui
32c1c5a19f
Revert "Test for bug 62328"
...
This reverts commit 222ab9da1a
.
2012-08-12 12:02:02 +08:00
Xinchen Hui
7b307fb930
Fixed bug #62328 (implementing __toString and a cast to string fails)
...
__toString should has a high priority
2012-08-12 11:50:28 +08:00
Xinchen Hui
d11fa44d62
Merge branch 'Bug-62328' of https://github.com/leight/php-src
2012-08-12 10:40:41 +08:00
Leigh
222ab9da1a
Test for bug 62328
2012-08-10 11:43:53 +01:00
Leigh
a5dfd41494
zend_make_printable_zval choses cast_object over __toString
...
https://bugs.php.net/bug.php?id=62328
Added a check to see if the object implements a __toString magic
method. This should be called instead of the cast_object method of
built-in classes when defined.
2012-08-10 11:09:25 +01:00
Stanislav Malyshev
04ac5065e0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added Bison 2.5.1 to bison_version_list
2012-08-05 20:48:47 -07:00
Ryusuke SEKIYAMA
81c6a060a2
Added Bison 2.5.1 to bison_version_list
2012-08-05 20:48:42 -07:00
Xinchen Hui
ac88d108e6
Merge branch 'PHP-5.4'
2012-08-04 11:29:56 +08:00
Xinchen Hui
d289efb457
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
Zend/zend_API.h
2012-08-04 11:14:03 +08:00
Xinchen Hui
f4a315fce2
This becomes useless, since we have set that in the INIT macro
2012-08-04 11:03:21 +08:00
Xinchen Hui
03a1fcabf3
Fixed bug #62744 (dangling pointers made by zend_disable_class)
...
the test will be added while commit the fix for #62737
2012-08-04 10:41:26 +08:00
Nuno Lopes
aa8eabddd6
make default_exception_ce and error_exception_ce static
2012-08-02 06:53:09 -04:00
Nuno Lopes
81369bcc20
make default_exception_ce and error_exception_ce static
2012-08-02 11:44:15 +01:00
Xinchen Hui
6c7c2d0c03
Merge branch 'PHP-5.4'
2012-08-02 12:34:15 +08:00
Xinchen Hui
242658c053
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 12:32:44 +08:00
Xinchen Hui
433089ccb4
Fixed bug #62716 (munmap() is called with the incorrect length)
2012-08-02 12:30:07 +08:00
Xinchen Hui
b412df1e67
Merge branch 'PHP-5.4'
2012-07-31 10:52:26 +08:00
Xinchen Hui
572d6437bc
expect pass for 5.4
2012-07-31 10:51:18 +08:00
Xinchen Hui
c730329bb0
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-31 10:51:04 +08:00
Xinchen Hui
645f84e41b
Test for bug #62680
2012-07-31 10:49:13 +08:00
Xinchen Hui
32c05f772e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Skip test while zend_mm is disabled
2012-07-29 12:20:05 +08:00
Xinchen Hui
11e84180ef
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Skip test while zend_mm is disabled
2012-07-29 12:19:28 +08:00
Xinchen Hui
015ee3b2c8
Skip test while zend_mm is disabled
2012-07-29 12:17:43 +08:00
Xinchen Hui
b477a84026
Fixed bug #60194 for eavl
...
same reason here
2012-07-28 17:00:05 +08:00
Xinchen Hui
ef7286a42f
Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php)
...
It's not a big deal, just because lexer will read the char after cursor before leaving
2012-07-28 00:50:45 +08:00
Gustavo André dos Santos Lopes
594397993d
Fix bug #62651 : source level BC break
...
Break for C++ extensions that don't wrap the includes of PHP libraries
in extern "C" {.
2012-07-27 01:39:06 +02:00
Gustavo André dos Santos Lopes
ccffec74d0
Fix bug #62651 : source level BC break
...
Break for C++ extensions that don't wrap the includes of PHP libraries
in extern "C" {.
2012-07-26 23:37:02 +02:00
Xinchen Hui
80497ea7df
Merge branch 'PHP-5.4'
2012-07-26 13:58:01 +08:00
Xinchen Hui
302ad0d648
Fix test, committed in wrong folder
2012-07-26 13:57:04 +08:00
Xinchen Hui
eae0610042
Fixed bug #62653 : (unset($array[$float]) causes a crash)
...
the reason why jpauli and I can not reproduce is (it's silly):
I typo "USE_ZEND_ALLOC *&&* valgrind" at the first time, then I always ctrl+r
and jpauli copied my command from the pastbin :)
thanks
2012-07-26 13:53:06 +08:00
Xinchen Hui
07c61c2fdb
Merge branch 'PHP-5.4'
2012-07-26 12:44:51 +08:00
Xinchen Hui
b4b3a65f55
Fixed bug #62661 (Interactive php-cli crashes if include() is used in auto_prepend_file)
2012-07-26 12:40:47 +08:00
Xinchen Hui
ba568aaebb
Fixed invalid read in CONST_STRING dereference, reported by Nikic
2012-07-26 00:29:39 +08:00
Stanislav Malyshev
efdb7ce4b0
improve code in zend_operators
2012-07-14 21:06:40 -07:00