Anatol Belski
4faf7476f9
fix dir sep in test
2015-05-26 13:09:56 +02:00
Xinchen Hui
438d17e74e
Even fake token better to be in upper case
2015-05-26 18:11:07 +08:00
Xinchen Hui
4a728227fc
Merge branch 'PHP-5.6'
2015-05-26 16:26:23 +08:00
Xinchen Hui
1f077cc4f4
Merge branch 'PHP-5.5' into PHP-5.6
2015-05-26 16:24:39 +08:00
Xinchen Hui
76a290d0be
Fixed C89
2015-05-26 16:24:18 +08:00
Xinchen Hui
770a462943
implicit declaration of function ‘zend_multibyte_yyinput_again’
2015-05-26 10:36:52 +08:00
Bob Weinand
1a7bf16dd6
Ran wrong tests, fixed bug in impl; simplified
2015-05-26 01:43:56 +02:00
Bob Weinand
bb552908a0
Speed up implod()'ing between 5% and 30% (by time)
...
Significantly speed up implode()'ing on integers now...
Previously I accidentally committed the first part of the patch in 69b54ba926
2015-05-26 01:12:23 +02:00
Bob Weinand
31f3eeb0c5
Fix tokenizer test due to recent changes
2015-05-26 00:17:27 +02:00
Bob Weinand
8cd62071ab
Add class to semi_reserved tests
2015-05-25 23:07:37 +02:00
Márcio Almada
e67a129ea6
updates grammar tests with class members named as method modifiers \cc @bwoebi
2015-05-25 23:00:39 +02:00
Bob Weinand
69b54ba926
Also unreserve T_CLASS
2015-05-25 22:58:30 +02:00
Bob Weinand
36c3c47434
Set %expect to 0 in parser (Using %prec)
2015-05-25 20:26:57 +02:00
Bob Weinand
306a0f28d0
Merge branch 'master' of https://github.com/php/php-src
2015-05-25 19:00:53 +02:00
Bob Weinand
21ccdf6304
Rebuild scanner, add NEWS/UPGRADING
2015-05-25 19:00:08 +02:00
Dmitry Stogov
03f41f9b4d
Prevent op_array->this_var setting when method uses auto globals
2015-05-25 19:59:25 +03:00
Bob Weinand
886cbea94f
Merge context sensitive lexer RFC
2015-05-25 18:38:40 +02:00
Dmitry Stogov
18cd4b17cc
Fixed typo
2015-05-25 19:20:52 +03:00
Anatol Belski
cf50748f2b
move S_IFLNK define into header
2015-05-25 18:07:47 +02:00
Anatol Belski
c444c4172f
further cleanups with S_IF* macros generalized declarations
2015-05-25 18:03:28 +02:00
Anatol Belski
cfadcfc734
cleanup more redundant S_IS* declarations
2015-05-25 18:03:26 +02:00
Anatol Belski
d713fcc14d
cleanup redundant S_IFDIR declaration
2015-05-25 18:03:24 +02:00
Anatol Belski
f4c07e7e76
cleanup duplicated stat declarations in ext/phar
2015-05-25 18:03:22 +02:00
Anatol Belski
5d1731b2fb
move some stat declarations into zend_virtual_cwd.h
...
more cleanup to go
2015-05-25 18:03:21 +02:00
Dmitry Stogov
c436e25fd5
Fixed bug #69700 (tests/lang/this_assignment.phpt memory errors)
2015-05-25 18:29:31 +03:00
Anatol Belski
404360f261
pick up sasl auth plugins if there was any in the deps
2015-05-24 23:49:45 +02:00
Anatol Belski
c63467fe6e
remove non-applicable comment
2015-05-24 23:49:43 +02:00
Anatol Belski
d28ab1cba3
fix datetime tests with vc14
...
VC14 RC seems to support more format extensions, however some
difrerences do still persist.
2015-05-24 23:49:42 +02:00
Anatol Belski
9770553437
make the test more reliable
2015-05-24 23:49:40 +02:00
Nikita Popov
a1ef8b418d
Improve phpdbg opcode dump
...
Don't show <unused>, just don't display anything instead.
Dump nums used in op1/op2/result, e.g. for SEND, RECV etc.
Split the switch into three parts, one for each operand.
2015-05-24 20:29:57 +02:00
Remi Collet
fc8143f58a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed Bug #69479 GD fails to build with newer libvpx
2015-05-24 09:40:08 +02:00
Remi Collet
c630779648
NEWS
2015-05-24 09:39:44 +02:00
Remi Collet
565de1ae64
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed Bug #69479 GD fails to build with newer libvpx
2015-05-24 09:39:20 +02:00
Remi Collet
4cab20bbb4
NEWS
2015-05-24 09:39:03 +02:00
Remi Collet
e807e07bfa
Fixed Bug #69479 GD fails to build with newer libvpx
...
From upstream d41eb72cd4
Fix build with latest libvpx 1.4.0
These new constants exist at least since 1.0.0
Compatibility ones have been droped in 1.4.0
2015-05-24 09:37:12 +02:00
Anatol Belski
35ba1601f5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
2015-05-23 23:02:47 +02:00
Anatol Belski
4e002b4412
updated NEWS
2015-05-23 23:02:09 +02:00
Nikita Popov
f3dde29394
Fixes for x32 ABI
...
I'm assuming that we want to have 64bit zend_longs on x32 here.
This fixes two typos in __x86_64__ macros and adds sign-extension
when assigning STREAM_COPY_ALL to zend_long.
2015-05-23 21:18:33 +02:00
Anatol Belski
d5f695ce7b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
increase the internal post data buffer
2015-05-23 18:47:26 +02:00
Anatol Belski
f3cec08e65
increase the internal post data buffer
...
This brings speedup and fixes issues with var parsing. Default BUFSIZ
on Windows is 512 bytes which causes too much reallocation work.
2015-05-23 18:44:39 +02:00
Levi Morrison
e13803d15b
Inline zend_find_builtin_type
...
This function was used only inside of zend_find_builtin_type_by_name,
which is also used only one time.
2015-05-23 11:12:13 +02:00
Levi Morrison
e22ceb6e82
Remove duplication
2015-05-23 11:12:13 +02:00
Levi Morrison
339283c523
Rename some variables and functions
...
The way these are used have little to do with them being scalars;
they are just tuples with names, lengths and IS_* constants. We
will probably reuse these in the future with other types.
2015-05-23 11:12:12 +02:00
Radu Brănișcan
0c7634fcc7
Corrected line comment 5256
...
From the text "dectupt" to "decrypt"
2015-05-23 11:11:58 +02:00
Nikita Popov
8542befa7b
Remove ZEND_BRK/ZEND_CONT from VM
...
These are no longer used at run-time now, only temporarily during
compilation.
2015-05-23 10:51:33 +02:00
Nikita Popov
7a88d16cf3
Use ZEND_JMP instead of ZEND_BRK/ZEND_CONT
...
Emit necessary FREEs during compilation, convert to JMP during
pass_two (we may not know target opline beforehand).
2015-05-23 10:51:33 +02:00
Nikita Popov
9325ada725
Embed break/continue depth into opline
...
Previously a separate lval literal was used - this is probably a
leftover from the time where the break level could still be
specified dynamically.
2015-05-23 10:51:33 +02:00
Nikita Popov
3cbe3903fa
Move loop var stack management into begin/end loop
...
Also set start to -1 in begin_loop already, so the info that a
loop variable is not used is already available at compile-time.
2015-05-23 10:51:33 +02:00
Nikita Popov
d0e265392f
Drop FREE_ON_RETURN flag, check brk_cont->start instead
...
Start >= 0 already tells us whether or not the loop has a loop
variable, no need to add extra flags to opcodes.
Also added a test for a case where FREE_ON_RETURN is relevant,
we didn't seem to have any coverage for this.
2015-05-23 10:51:33 +02:00
Nikita Popov
1bee093eca
Drop THIS_HASHVAL define
...
No longer used
2015-05-23 10:51:32 +02:00