Dmitry Stogov
92b76680e9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #65969 (Chain assignment with T_LIST failure)
Conflicts:
NEWS
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-11-27 14:39:40 +04:00
Dmitry Stogov
16d59aa171
Fixed bug #65969 (Chain assignment with T_LIST failure)
2013-11-27 14:26:34 +04:00
Igor Wiedler
24e0b99103
Merge remote-tracking branch 'upstream/PHP-5.6' into use-function
...
* upstream/PHP-5.6: (399 commits)
Fixed issue #115 (path issue when using phar). Fixed issue #149 (Phar mount points not working with OPcache enabled).
Added tests for PHAR/OPCahce incompatibilities
Update NEWS
Fixed bug #65947 (basename is no more working after fgetcsv in certain situation)
Update NEWS
Fixed Bug #66043 (Segfault calling bind_param() on mysqli)
NEWS entry
NEWS entry
Fix bug #65946 - pdo_sql_parser.c permanently converts values bound to strings
bump API versions
Add a couple more test cases to parse_url() tests
fix missing change from 'tcp_socket' to the more common 'server'
fix many parallel test issues
Cleanup temp test file
Revert "Fixed issue #115 (path issue when using phar)."
Update LiteSpeed SAPI code to V6.4
Fixed typo in Makefile.frag
updated NEWS
Remove outdate codes, make it clearer, although just a bit..
Update NEWS
...
Conflicts:
Zend/zend_compile.h
2013-11-08 19:14:58 -05:00
Bob Weinand
152898ff28
Moved arrays again to "static_scalar:" & little cleanup
2013-11-07 16:39:47 +01:00
Bob Weinand
ad967e1329
Added a few more operators
2013-11-03 01:58:39 +01:00
Bob Weinand
466c5dd1fe
Fixed mem leaks, added tests and ternary operator
2013-10-31 18:21:37 +01:00
Nikita Popov
d51553e399
Merge branch 'PHP-5.5'
2013-10-16 18:39:13 +02:00
Nikita Popov
865f221627
Merge branch 'PHP-5.4' into PHP-5.5
2013-10-16 18:37:49 +02:00
bwoebi
4c0bb6d76e
Fixed bug #65911 ($this not usable as static property)
...
In context of static accesses like classname::$this, the string
"$this" should not be handled like a $this variable, but as an
identifier for a static variable.
2013-10-16 18:33:14 +02:00
Igor Wiedler
602fef0e52
Clarify type of use in error messages
2013-10-14 23:32:11 +02:00
Igor Wiedler
e23ad4eeb2
Add "Done" output to distinguish hard from soft failures
2013-10-14 23:21:06 +02:00
Nikita Popov
cbf0683c6f
Merge branch 'PHP-5.5'
2013-09-29 20:19:40 +02:00
Nikita Popov
6b68f44e6b
Fix bug #64979 : Wrong behavior of static variables in closure generators
2013-09-29 20:18:12 +02:00
Nikita Popov
9529b8f5c4
Merge branch 'PHP-5.5'
2013-09-29 18:01:42 +02:00
Nikita Popov
1d1fb69c8b
Merge branch 'PHP-5.4' into PHP-5.5
2013-09-29 18:01:18 +02:00
Nikita Popov
f0c926564c
Fix bug #65322 : compile time errors won't trigger auto loading
...
Also fixes duplicate bugs #54054 and #42098 .
Furthermore this fixes incorrect error messages thrown from code
running inside an error handler when a compilation is in progress.
The error file and line are now correctly associated with the
file/line of the executor, rather than the compiler.
2013-09-29 17:58:25 +02:00
Nikita Popov
0d7a638866
Implement variadic function syntax
...
As per RFC: https://wiki.php.net/rfc/variadics
2013-09-26 18:39:17 +02:00
Xinchen Hui
825c1f239b
Merge branch 'PHP-5.5'
2013-09-02 16:16:15 +08:00
Xinchen Hui
b2ee1b629e
Merge branch 'PHP-5.4' into PHP-5.5
2013-09-02 16:16:07 +08:00
Xinchen Hui
6c48c6bc78
Typo....
2013-09-02 16:15:52 +08:00
Xinchen Hui
f33bdf68b1
Merge branch 'PHP-5.5'
2013-09-02 16:03:10 +08:00
Xinchen Hui
dd1cbd140b
Merge branch 'PHP-5.4' into PHP-5.5
2013-09-02 16:02:59 +08:00
Xinchen Hui
ed038d2ee3
Add a XFAIL test for #64896
2013-09-02 16:02:24 +08:00
Gustavo André dos Santos Lopes
d515455589
Implement phase 1 of rfc/incompat_ctx
...
Just changing the error level of the message from E_STRICT to
E_DEPRECATED. This comes one version later than the timeline
mentioned in the RFC.
Oddly, there were no tests for this ‘feature’. I added a simple
one.
2013-09-02 01:53:06 +02:00
Anthony Ferrara
d7e3aca9c9
Fix issue with global fallback when not in global space
2013-08-30 11:53:57 -04:00
Xinchen Hui
a607a08e09
Merge branch 'PHP-5.5'
2013-08-30 11:23:24 +08:00
Xinchen Hui
e4fe53e200
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-30 11:20:46 +08:00
Xinchen Hui
7da6498342
Fixed bug #60598 (cli/apache sapi segfault on objects manipulation)
2013-08-30 11:20:24 +08:00
Igor Wiedler
e14a769c56
Add test for conditional function declaration
2013-08-29 17:16:18 +02:00
Xinchen Hui
0ea00936be
Merge branch 'PHP-5.5'
2013-08-29 14:02:53 +08:00
Xinchen Hui
f0cb67402f
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-29 14:01:54 +08:00
Adam Harvey
72027cd084
Fix bug #65579 (Using traits with get_class_methods causes segfault).
...
Specifically, this checks if there are trait aliases defined in the class scope
before attempting to dereference the first trait alias. This handles the case
where a trait alias was used in a child trait but no aliases exist in the
concrete class.
2013-08-28 20:33:42 -07:00
Igor Wiedler
6263f221ff
Handle case sensivity of constants (nikic)
2013-08-25 16:21:51 +02:00
Igor Wiedler
84c8aa3691
self and parent are valid function and const names (nikic)
2013-08-25 15:08:26 +02:00
Igor Wiedler
bc473228c8
Adjust some test names, remove obsolete and duplicate tests (nikic)
2013-08-25 14:03:07 +02:00
Igor Wiedler
85d4cfb00d
Disallow using functions/consts defined in the same file
...
* Keep track of defined function and const filenames
* Prohibit use function foo if function foo exists
* Prohibit use const foo if const foo exists
2013-08-25 00:02:46 +02:00
Igor Wiedler
5b18530e8c
Add test cases for conflicting use and definition in same ns (stas)
2013-08-23 23:31:17 +02:00
Igor Wiedler
31d77053a1
More test cases for conflicting aliases
2013-08-22 15:51:26 +02:00
Igor Wiedler
2dbbb8ae4b
Add test case for conflicting use and use function alias (stas)
2013-08-22 15:51:26 +02:00
Igor Wiedler
4adf49eeaf
Import namespaced constants via new 'use const' sequence
2013-08-22 15:51:26 +02:00
Igor Wiedler
e1125a6a89
Correctly distinguish between functions and constants
...
So far 'use function' applied to both constants and functions. This
patch correctly separates the two.
2013-08-22 15:51:26 +02:00
Igor Wiedler
5dd41627be
Add new 'use function' sequence for importing namespaced functions
...
This is specified as the use_function RFC:
* https://wiki.php.net/rfc/use_function
2013-08-22 15:51:25 +02:00
Stanislav Malyshev
42214b6474
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Use in preg_replace_callback() using variables by reference and test for bug #64979
https://bugs.php.net/bug.php?id=64979
2013-08-18 15:19:27 -07:00
Marcel Araujo
265224778b
Use in preg_replace_callback() using variables by reference and test for bug #64979
2013-08-18 15:18:30 -07:00
Marcel Araujo
47678c06c6
https://bugs.php.net/bug.php?id=64979
2013-08-18 15:09:43 -07:00
Stanislav Malyshev
68e8326e0e
Merge branch 'PHP-5.5'
...
* PHP-5.5:
non living code related typo fixes
2013-08-04 16:07:13 -07:00
Stanislav Malyshev
c793a65690
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
non living code related typo fixes
Conflicts:
Zend/zend_compile.c
2013-08-04 16:06:24 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
Rasmus Lerdorf
0fce1b4f72
Merge commit ' 5753b74
'
...
* commit '5753b74
':
Make sure test.php isn't coming in from the include_path
2013-08-02 11:48:07 -04:00
Rasmus Lerdorf
a85e71e655
Merge commit ' 5753b74
' into PHP-5.5
...
* commit '5753b74
':
Make sure test.php isn't coming in from the include_path
2013-08-02 11:47:52 -04:00