mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-09 10:10:50 +00:00
Compare commits
929
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a8e322e20 | ||
|
|
46a6126e34 | ||
|
|
afeef64609 | ||
|
|
d719c020e6 | ||
|
|
d9e457bbad | ||
|
|
921ea6a428 | ||
|
|
519e4c1158 | ||
|
|
2a9bb86383 | ||
|
|
a19fb50fd6 | ||
|
|
120b469bb4 | ||
|
|
49cf106aa4 | ||
|
|
5ee54f12af | ||
|
|
c752e95c36 | ||
|
|
3b4540f926 | ||
|
|
0cb1a19851 | ||
|
|
54f742e30d | ||
|
|
6d3be89192 | ||
|
|
8d06c2cf2a | ||
|
|
99afacffcd | ||
|
|
09f6582694 | ||
|
|
300f28b58e | ||
|
|
fcc80dcb86 | ||
|
|
0136b5cec6 | ||
|
|
79f0466eff | ||
|
|
ac2a97209b | ||
|
|
c940701612 | ||
|
|
f492ccfec6 | ||
|
|
c77343ea9e | ||
|
|
34f117411e | ||
|
|
74f431ed45 | ||
|
|
4cf377704b | ||
|
|
c4a9c79e28 | ||
|
|
7f2d38d966 | ||
|
|
6131780061 | ||
|
|
1ad22f19e2 | ||
|
|
90d7d1004c | ||
|
|
f148e5a64f | ||
|
|
e721d542ee | ||
|
|
9acebf6f4a | ||
|
|
cccb875ecd | ||
|
|
a43447aad6 | ||
|
|
008ca451c1 | ||
|
|
b43e2722ab | ||
|
|
a7e664e216 | ||
|
|
783b7b5cac | ||
|
|
23b814a8b7 | ||
|
|
adfdb7a77f | ||
|
|
d84d3e47f3 | ||
|
|
ca779b84f9 | ||
|
|
23db743e46 | ||
|
|
0e3465a61f | ||
|
|
13ac985397 | ||
|
|
855e9fb998 | ||
|
|
42b58608e5 | ||
|
|
7f4cdc8719 | ||
|
|
f60f40afaa | ||
|
|
3ba6c9f870 | ||
|
|
566babac58 | ||
|
|
3959313932 | ||
|
|
a012002652 | ||
|
|
78c4bc3086 | ||
|
|
a12e0a69b8 | ||
|
|
38969d726b | ||
|
|
49b4865adb | ||
|
|
8b52d17a9b | ||
|
|
8d362208e1 | ||
|
|
29980934c0 | ||
|
|
612a5d30db | ||
|
|
09ec05ee72 | ||
|
|
59305cdc08 | ||
|
|
c9745da78e | ||
|
|
8ce15a6cc3 | ||
|
|
39c67fe48d | ||
|
|
7861cec3ef | ||
|
|
58ed732623 | ||
|
|
22f64f09f2 | ||
|
|
71376a9789 | ||
|
|
b0ef277d3a | ||
|
|
3f2bc9daa6 | ||
|
|
3371e54109 | ||
|
|
5f21f1e7c8 | ||
|
|
e815e613ac | ||
|
|
21aa7d168a | ||
|
|
d34a68db52 | ||
|
|
18e73c14a2 | ||
|
|
3cdae46259 | ||
|
|
a7653d9485 | ||
|
|
81af2ad666 | ||
|
|
0d6a4b2d12 | ||
|
|
b60437a4ad | ||
|
|
3a78a01817 | ||
|
|
aa6595916b | ||
|
|
3fc347d251 | ||
|
|
7631655051 | ||
|
|
a16133c719 | ||
|
|
e6bca5b8a5 | ||
|
|
677debbd11 | ||
|
|
5cebc6e703 | ||
|
|
85489ac01a | ||
|
|
21e8496b72 | ||
|
|
7d1ff9b203 | ||
|
|
574a268345 | ||
|
|
32ecd29b07 | ||
|
|
91ec3a8141 | ||
|
|
17bf5aa167 | ||
|
|
3404865719 | ||
|
|
a0d1b54bf1 | ||
|
|
72eeac2581 | ||
|
|
a55dc942cd | ||
|
|
c72618c48c | ||
|
|
e9148ca0e3 | ||
|
|
64c8147b91 | ||
|
|
910107f3f4 | ||
|
|
ae37ab1364 | ||
|
|
9c1837e8da | ||
|
|
8d1e2fdfda | ||
|
|
4db72b092f | ||
|
|
921ed1e76e | ||
|
|
942cea640f | ||
|
|
9331f6554a | ||
|
|
4b9d2da517 | ||
|
|
3ed65d36f9 | ||
|
|
ffccfdd9ec | ||
|
|
157f45242a | ||
|
|
d9a51ce483 | ||
|
|
a92f5edb70 | ||
|
|
30dbcfe1c8 | ||
|
|
e0c2374a93 | ||
|
|
91eb3c5a54 | ||
|
|
89af9ac202 | ||
|
|
85261c8268 | ||
|
|
c542cf02a1 | ||
|
|
8b93b4e373 | ||
|
|
b26e125eda | ||
|
|
84d76e82bb | ||
|
|
53e5f104e4 | ||
|
|
a3409dc80d | ||
|
|
638ced7d36 | ||
|
|
e649bf4aa6 | ||
|
|
9a86c92895 | ||
|
|
ddccfe7a12 | ||
|
|
d305bc31aa | ||
|
|
b405a2c230 | ||
|
|
92926978a2 | ||
|
|
07fb812d50 | ||
|
|
056c0c4324 | ||
|
|
984f01c1ed | ||
|
|
e2e013662d | ||
|
|
1ea392bb55 | ||
|
|
b3e3d679c5 | ||
|
|
7f512a75b7 | ||
|
|
b09626373f | ||
|
|
5db40d5a2f | ||
|
|
646a8aabba | ||
|
|
a0f2b8ff27 | ||
|
|
4b06c31923 | ||
|
|
3c001f3279 | ||
|
|
fa4b164375 | ||
|
|
aa3fc14911 | ||
|
|
20eee2e5e4 | ||
|
|
c5d0d152a9 | ||
|
|
ab029cf81a | ||
|
|
7bad8ec1ca | ||
|
|
7ac1f7eee7 | ||
|
|
c957a3ae9c | ||
|
|
a6f3a6b470 | ||
|
|
e28ad0cd28 | ||
|
|
d6296c9f33 | ||
|
|
b27f9a96e7 | ||
|
|
3af972a44b | ||
|
|
6c3a5e8d05 | ||
|
|
b512bab367 | ||
|
|
74469110b3 | ||
|
|
518f9a3586 | ||
|
|
0d08b726b2 | ||
|
|
a49254c325 | ||
|
|
80589d3bf6 | ||
|
|
6324a1f35c | ||
|
|
bbced47e80 | ||
|
|
ddb4a69a98 | ||
|
|
bf29902c14 | ||
|
|
3c15c00891 | ||
|
|
3247a9c40b | ||
|
|
f732dfba27 | ||
|
|
7c1d04ece1 | ||
|
|
cde0b736c5 | ||
|
|
3be9fae529 | ||
|
|
df71cbc0d5 | ||
|
|
962243af08 | ||
|
|
217b40b1aa | ||
|
|
67bbebf598 | ||
|
|
b47ae1bdb7 | ||
|
|
38d47b02df | ||
|
|
e812a31c9b | ||
|
|
11c47b663f | ||
|
|
1f4754a0bf | ||
|
|
3fc970cc4f | ||
|
|
ed32a8a6e2 | ||
|
|
ab61e0138e | ||
|
|
597f0acfaa | ||
|
|
704599d3a9 | ||
|
|
71539c429e | ||
|
|
3f41dea857 | ||
|
|
575e56649c | ||
|
|
c6dca00fbb | ||
|
|
154d823ad0 | ||
|
|
ef49b9a8de | ||
|
|
83a893a5d6 | ||
|
|
b9259ff9d1 | ||
|
|
73ef7ed458 | ||
|
|
8fd7172306 | ||
|
|
132ad2d26c | ||
|
|
8bddde3f80 | ||
|
|
aa90a2d3e0 | ||
|
|
0f1d65592b | ||
|
|
f8bcc8c15f | ||
|
|
3813ffa6f9 | ||
|
|
9c332b4b9e | ||
|
|
52252ef91d | ||
|
|
29401ca5a9 | ||
|
|
e27731f3db | ||
|
|
0540f6ddb1 | ||
|
|
dd44c11b55 | ||
|
|
bedf300691 | ||
|
|
43c88da822 | ||
|
|
99e6a560dc | ||
|
|
89e6d5bd22 | ||
|
|
e7057c6825 | ||
|
|
584ced66d5 | ||
|
|
a1a4c02290 | ||
|
|
a2de42599b | ||
|
|
8867ffc100 | ||
|
|
99614941d7 | ||
|
|
b5ca904be2 | ||
|
|
9fbc798d63 | ||
|
|
444aba4d5f | ||
|
|
abda35380f | ||
|
|
3572d5f2b0 | ||
|
|
dae1582b66 | ||
|
|
e3388ff043 | ||
|
|
e179d4e86b | ||
|
|
d3dce9e02e | ||
|
|
eaa3298b4a | ||
|
|
a54f690ae0 | ||
|
|
e780773ee6 | ||
|
|
3c1bcc2c8c | ||
|
|
1cd04d8739 | ||
|
|
3fff948321 | ||
|
|
435cf74f45 | ||
|
|
9919125435 | ||
|
|
2b5cd5b7fe | ||
|
|
071a3c3c7a | ||
|
|
b0994638ee | ||
|
|
5591b9fabb | ||
|
|
d0eaa59d0f | ||
|
|
29c885c8bd | ||
|
|
c9e793df5e | ||
|
|
844799cfd5 | ||
|
|
d6b537e8ca | ||
|
|
dba2bf64dd | ||
|
|
f9020054d2 | ||
|
|
22955ad4bf | ||
|
|
b2483079bb | ||
|
|
f2d5b34f26 | ||
|
|
99e65a945e | ||
|
|
d5b6ae48f7 | ||
|
|
b2863d6ecc | ||
|
|
08e90b069f | ||
|
|
422eb1b8f6 | ||
|
|
8424c90476 | ||
|
|
c0defbdc81 | ||
|
|
ec469a9f6a | ||
|
|
0397dd836b | ||
|
|
74a872c001 | ||
|
|
6499ce4847 | ||
|
|
0cc37e4a06 | ||
|
|
84f868ded7 | ||
|
|
8808ffa0ff | ||
|
|
7d2735fbef | ||
|
|
6414245da6 | ||
|
|
e3b599807c | ||
|
|
864632a1b1 | ||
|
|
6bbb6b7df7 | ||
|
|
743e7d8cb7 | ||
|
|
3f3da95a4c | ||
|
|
bb46ef5a6e | ||
|
|
bb46aa5f97 | ||
|
|
b364219ade | ||
|
|
de78386d8f | ||
|
|
1fa754ffd3 | ||
|
|
3cb41ad94d | ||
|
|
34455b8ab8 | ||
|
|
ff209bb97c | ||
|
|
af5cb849ee | ||
|
|
ab165076a9 | ||
|
|
488d12c2e5 | ||
|
|
27c06db0bd | ||
|
|
3bfe758475 | ||
|
|
dee98d2d9e | ||
|
|
19c4363c8a | ||
|
|
7c375c4879 | ||
|
|
51e0152170 | ||
|
|
59338d84b7 | ||
|
|
8f00f19419 | ||
|
|
df7ba6eb86 | ||
|
|
d6593aa472 | ||
|
|
3fbb9f50c5 | ||
|
|
5be5df48c9 | ||
|
|
b337c7ad95 | ||
|
|
1000e22750 | ||
|
|
4efe92fa7c | ||
|
|
b822f24748 | ||
|
|
1ff15e8260 | ||
|
|
0ff050f076 | ||
|
|
2689a74cee | ||
|
|
b11ad90dfc | ||
|
|
bc7d3a9484 | ||
|
|
03eb1fd623 | ||
|
|
24a764e086 | ||
|
|
7c53e81273 | ||
|
|
173069cead | ||
|
|
0902cc8651 | ||
|
|
1b3ea47dbc | ||
|
|
fb11097b06 | ||
|
|
0722818374 | ||
|
|
72e8a2ec60 | ||
|
|
e073d72618 | ||
|
|
21f74ba99e | ||
|
|
279c926f8b | ||
|
|
26eeef7599 | ||
|
|
07fde460a3 | ||
|
|
d70eefbaa0 | ||
|
|
3d1a87fb88 | ||
|
|
df9603aae0 | ||
|
|
4560601437 | ||
|
|
77972bc68a | ||
|
|
877cdf6862 | ||
|
|
75b081d0d1 | ||
|
|
f9a2648d61 | ||
|
|
8a0fc77582 | ||
|
|
7a67e94f17 | ||
|
|
2826401afe | ||
|
|
b51bb4132f | ||
|
|
281fb1f2ed | ||
|
|
fbdf0ba4e5 | ||
|
|
311e37c4b1 | ||
|
|
e0beb2850f | ||
|
|
c66894df94 | ||
|
|
460b6552cd | ||
|
|
e12dba474e | ||
|
|
39de96fa50 | ||
|
|
ac0fc54ec4 | ||
|
|
7446484181 | ||
|
|
bc80465549 | ||
|
|
84ce97f43d | ||
|
|
9ed3965300 | ||
|
|
fbde968865 | ||
|
|
5673f9f2c1 | ||
|
|
22f994ad4e | ||
|
|
701c5a64a4 | ||
|
|
3e82b3d3ae | ||
|
|
40607b254a | ||
|
|
0d56cd2dfc | ||
|
|
90f9f11fbe | ||
|
|
6686c41e3d | ||
|
|
d9204dbce2 | ||
|
|
d6b86e9d4d | ||
|
|
d2bb47958f | ||
|
|
d8b835620c | ||
|
|
3d8b5526af | ||
|
|
c22036851a | ||
|
|
958fcd4c65 | ||
|
|
572b3f83a3 | ||
|
|
f358f96deb | ||
|
|
d5e2d221cd | ||
|
|
bec4b5a45e | ||
|
|
42066c72d1 | ||
|
|
574d2c8987 | ||
|
|
c9f76fb96f | ||
|
|
22851007ca | ||
|
|
2b251dc603 | ||
|
|
dddacf337a | ||
|
|
f4cc20d972 | ||
|
|
c139ff0ae1 | ||
|
|
d65d363741 | ||
|
|
6f24d39212 | ||
|
|
fa0e88725c | ||
|
|
50e05895c0 | ||
|
|
dfd31ff703 | ||
|
|
0d3534ac1d | ||
|
|
0f50210635 | ||
|
|
a46b6655a4 | ||
|
|
bb592b40ab | ||
|
|
29023692ce | ||
|
|
bb80704332 | ||
|
|
f38c96e85f | ||
|
|
aea970fbc2 | ||
|
|
8c6eedb868 | ||
|
|
682f0c5343 | ||
|
|
d3376cb591 | ||
|
|
8c5fafcdb9 | ||
|
|
88dbe358e0 | ||
|
|
83308cedf9 | ||
|
|
614d00ca89 | ||
|
|
9bb9f270fa | ||
|
|
1bedb57dd4 | ||
|
|
c18fd01775 | ||
|
|
7e2f15eb3a | ||
|
|
36b9272e3c | ||
|
|
cac8a72989 | ||
|
|
d7a80059bb | ||
|
|
a3de4d224a | ||
|
|
ea70058067 | ||
|
|
c7411c2c96 | ||
|
|
3c01491e89 | ||
|
|
edd46ec6f7 | ||
|
|
13c8beed63 | ||
|
|
ffef452b62 | ||
|
|
63130eadc0 | ||
|
|
b0419a1ef1 | ||
|
|
058a282133 | ||
|
|
ab5e85b27d | ||
|
|
6d6138d9d9 | ||
|
|
839b81668c | ||
|
|
ea1453a741 | ||
|
|
00772abea5 | ||
|
|
b42da54e51 | ||
|
|
ef15af78dd | ||
|
|
c5b45f2281 | ||
|
|
df7f836d31 | ||
|
|
9d052f239f | ||
|
|
482d6ad927 | ||
|
|
f2445bd57a | ||
|
|
a054d74c4a | ||
|
|
779adcc113 | ||
|
|
347fa0eb1b | ||
|
|
ac10dfa0ce | ||
|
|
def82c26f2 | ||
|
|
9ecba09de6 | ||
|
|
be8c7c0988 | ||
|
|
695b43a535 | ||
|
|
1ba7b093a6 | ||
|
|
930a8feb66 | ||
|
|
c6aca784f9 | ||
|
|
7c76add7fe | ||
|
|
736f29a9a9 | ||
|
|
c644ba688b | ||
|
|
07fe6986cc | ||
|
|
8290469bd6 | ||
|
|
fc53f0b6ea | ||
|
|
3591f8b356 | ||
|
|
5e5e4293c3 | ||
|
|
2d36d06f35 | ||
|
|
77f82b1401 | ||
|
|
378bd3060e | ||
|
|
f4d34bb28e | ||
|
|
2f29a1240e | ||
|
|
ea8aea176a | ||
|
|
29b9bddb0c | ||
|
|
f848fb0fa1 | ||
|
|
1d608d09f2 | ||
|
|
07c3dbdc8c | ||
|
|
7fc67ed4a9 | ||
|
|
98e3ad366a | ||
|
|
f7ced2b8af | ||
|
|
416679fae5 | ||
|
|
192e130e52 | ||
|
|
cc6e678224 | ||
|
|
94e5be1bdc | ||
|
|
930fad7381 | ||
|
|
3e32e77243 | ||
|
|
756ab17389 | ||
|
|
4c3bc2ab43 | ||
|
|
e173d61581 | ||
|
|
250fec018a | ||
|
|
dcba47f8dc | ||
|
|
a27ca9810a | ||
|
|
b0ab190e62 | ||
|
|
3f9d6e9d7c | ||
|
|
acecc06940 | ||
|
|
a04ec69406 | ||
|
|
3b7b54ac68 | ||
|
|
7922a83ac0 | ||
|
|
617a8855b8 | ||
|
|
dc710ce12f | ||
|
|
77bce434a0 | ||
|
|
e486197f1e | ||
|
|
a5e30d595f | ||
|
|
d1eb03eec7 | ||
|
|
21490362dd | ||
|
|
93d952884d | ||
|
|
e18c762764 | ||
|
|
48d1b3a51a | ||
|
|
334e8973db | ||
|
|
d3bf8e3016 | ||
|
|
340bd30aa6 | ||
|
|
9fca0051a6 | ||
|
|
44c184862b | ||
|
|
51466116c0 | ||
|
|
705f67c884 | ||
|
|
6928982fb3 | ||
|
|
8b969f44d7 | ||
|
|
a29aef485a | ||
|
|
8d88e230fc | ||
|
|
baccc9b2e9 | ||
|
|
c49953a8f6 | ||
|
|
08a1795767 | ||
|
|
4fc1246d11 | ||
|
|
047bda3cb8 | ||
|
|
8d916b2ec6 | ||
|
|
bb9e8e6924 | ||
|
|
f432258b02 | ||
|
|
1b0d1d6bcb | ||
|
|
c9e4d5b668 | ||
|
|
8767f16ff3 | ||
|
|
f31c8fb4aa | ||
|
|
68a04f616b | ||
|
|
6a2fe2ad1a | ||
|
|
0e91f80a4d | ||
|
|
0e306ec3bc | ||
|
|
c31e0c803e | ||
|
|
8d7590996d | ||
|
|
4768b28fb1 | ||
|
|
a82df14bef | ||
|
|
7d46d0480e | ||
|
|
867546efca | ||
|
|
739c75b050 | ||
|
|
0621602408 | ||
|
|
f87643038f | ||
|
|
e0f657a729 | ||
|
|
9973dfd839 | ||
|
|
35f7c44a7d | ||
|
|
d896ea0b9a | ||
|
|
0f6f3c4771 | ||
|
|
2976c867a1 | ||
|
|
208d8e75f1 | ||
|
|
eff30bdfcb | ||
|
|
4045a51376 | ||
|
|
043c66806a | ||
|
|
78253b53e3 | ||
|
|
09b63f25d8 | ||
|
|
338d7dbca0 | ||
|
|
736efdcfc1 | ||
|
|
7429cd2181 | ||
|
|
5adf804213 | ||
|
|
9c16e1d9d2 | ||
|
|
fcec48fcc2 | ||
|
|
5feb5e5a89 | ||
|
|
8e87cdf7ac | ||
|
|
661569eba6 | ||
|
|
c073b42ba2 | ||
|
|
64fcd3b4e1 | ||
|
|
6843a38b2c | ||
|
|
7b952b33c6 | ||
|
|
177c1f128b | ||
|
|
a1a1249753 | ||
|
|
27fbfa3d08 | ||
|
|
16021cb6e3 | ||
|
|
f6221397ac | ||
|
|
d4523d6678 | ||
|
|
3e92d040f6 | ||
|
|
b66673da7d | ||
|
|
4237bea6fe | ||
|
|
afc82532cc | ||
|
|
bef0a451e3 | ||
|
|
73042afe10 | ||
|
|
2f2a0d8259 | ||
|
|
8b603dfa07 | ||
|
|
32f7c6a42d | ||
|
|
5bade4dcab | ||
|
|
af17616e0e | ||
|
|
47d935664a | ||
|
|
487e14d89c | ||
|
|
e5a7ea3293 | ||
|
|
5e95dc593a | ||
|
|
619b8bb5ea | ||
|
|
4273a9b4dc | ||
|
|
df9dc12b1e | ||
|
|
3a4b2c8437 | ||
|
|
9cd9d67790 | ||
|
|
33addf0ac5 | ||
|
|
f289abf4d7 | ||
|
|
9370d047ef | ||
|
|
87ddfb9fbd | ||
|
|
763eda2f57 | ||
|
|
eff8a93ded | ||
|
|
842b350891 | ||
|
|
d7064d84cb | ||
|
|
c1b5abf605 | ||
|
|
e6f7b32deb | ||
|
|
fe49acfcb9 | ||
|
|
10b69e0f0f | ||
|
|
31458c1a0d | ||
|
|
64125d247f | ||
|
|
0f6e281034 | ||
|
|
03f74b711e | ||
|
|
8f037b3fe4 | ||
|
|
11900b10a3 | ||
|
|
929a21247c | ||
|
|
772cf98e95 | ||
|
|
6a4057d932 | ||
|
|
a86756745c | ||
|
|
0caab530d5 | ||
|
|
1d7f071044 | ||
|
|
2dd8e6ec27 | ||
|
|
071deec12a | ||
|
|
114982b068 | ||
|
|
9b04ebc3c8 | ||
|
|
914437fd97 | ||
|
|
7d5fe7701b | ||
|
|
88bce658af | ||
|
|
6a2daa2673 | ||
|
|
01d4ee611e | ||
|
|
972a2192f4 | ||
|
|
77494520a4 | ||
|
|
56ed148d64 | ||
|
|
098c1b5397 | ||
|
|
c5ff10fdc9 | ||
|
|
6dc4be7100 | ||
|
|
667a563da0 | ||
|
|
e4c744789d | ||
|
|
da2f2ab130 | ||
|
|
fe30db5faf | ||
|
|
b1b7471f73 | ||
|
|
d4979adb80 | ||
|
|
b886771f69 | ||
|
|
7b668c6a7d | ||
|
|
21482dd1e6 | ||
|
|
3062692e49 | ||
|
|
2450cf4c0f | ||
|
|
f45b732abf | ||
|
|
bc053b7628 | ||
|
|
42eaadd128 | ||
|
|
331c423dbe | ||
|
|
e624492e40 | ||
|
|
70063c1195 | ||
|
|
69378b449c | ||
|
|
6e1fad3505 | ||
|
|
a1ee496a50 | ||
|
|
8555d34ba5 | ||
|
|
77e07a631a | ||
|
|
e83e18b8f8 | ||
|
|
9a4918af76 | ||
|
|
72daf80c47 | ||
|
|
500d715ed3 | ||
|
|
20cc5b498f | ||
|
|
ebdf8d3637 | ||
|
|
55612e2b06 | ||
|
|
279f79570d | ||
|
|
a1672ca3e2 | ||
|
|
d0c05b2643 | ||
|
|
b94207ccb8 | ||
|
|
3a6cac2e6c | ||
|
|
244b57f272 | ||
|
|
81d5bba936 | ||
|
|
5b9e18dd61 | ||
|
|
79b6a241ab | ||
|
|
1fd9b3f536 | ||
|
|
2781ddf65e | ||
|
|
42a2c5308e | ||
|
|
6f44413558 | ||
|
|
6d8afbca87 | ||
|
|
16e6e2f04a | ||
|
|
345ae37686 | ||
|
|
0e8700167a | ||
|
|
2712eb9b31 | ||
|
|
c901678ab1 | ||
|
|
cb2b9fcf8b | ||
|
|
26d7d2519d | ||
|
|
1cd7ce6cf8 | ||
|
|
8b0cd10768 | ||
|
|
84c5066dec | ||
|
|
7489a81e38 | ||
|
|
f26f786362 | ||
|
|
9915046344 | ||
|
|
85b00d1dd4 | ||
|
|
02f8e3770d | ||
|
|
fbb885cd6c | ||
|
|
26f13b4b70 | ||
|
|
e08c90c68d | ||
|
|
43709499f9 | ||
|
|
6057b04dd0 | ||
|
|
a1311b8bc2 | ||
|
|
b9ab70c0d2 | ||
|
|
b28b6977bf | ||
|
|
cf273715fb | ||
|
|
e249e02481 | ||
|
|
e0e1648359 | ||
|
|
02fc0f0255 | ||
|
|
969e64ad33 | ||
|
|
8df7dc9693 | ||
|
|
476aa6b90d | ||
|
|
1dd367b62d | ||
|
|
23cea0a4df | ||
|
|
5dd6078c14 | ||
|
|
ec9c01b2b2 | ||
|
|
78acd746d4 | ||
|
|
718da04673 | ||
|
|
b6c6759799 | ||
|
|
d9535fbf69 | ||
|
|
dda8d74cb5 | ||
|
|
1ce390f2c2 | ||
|
|
adf6be4bfb | ||
|
|
ddcb5042f5 | ||
|
|
c078127291 | ||
|
|
fecf5bc681 | ||
|
|
108d9dd8e7 | ||
|
|
09eebe78d8 | ||
|
|
59b98545e8 | ||
|
|
843d6eecc3 | ||
|
|
cf4e80bd50 | ||
|
|
2184c092d4 | ||
|
|
70143b88a2 | ||
|
|
840e508dc6 | ||
|
|
c530921598 | ||
|
|
22a0734469 | ||
|
|
ecc135ae21 | ||
|
|
17d4ecdbb1 | ||
|
|
7305654b69 | ||
|
|
51a01a9a6d | ||
|
|
874a609723 | ||
|
|
461e12bb47 | ||
|
|
d235cfb948 | ||
|
|
fbca704073 | ||
|
|
a948a2605d | ||
|
|
9ce5ea020f | ||
|
|
635ce992a6 | ||
|
|
7d8a27b3d1 | ||
|
|
4331f57597 | ||
|
|
e36ce120ae | ||
|
|
68fb7a1252 | ||
|
|
d3aa5682b1 | ||
|
|
96fe692335 | ||
|
|
9c51f3c841 | ||
|
|
d2f478af6a | ||
|
|
ec1e964f5c | ||
|
|
2b667e86f2 | ||
|
|
4fafb9bddc | ||
|
|
99487f9ce3 | ||
|
|
990de890fa | ||
|
|
41e64a728c | ||
|
|
8673660619 | ||
|
|
c7b3bc0d99 | ||
|
|
b54305bc7d | ||
|
|
cffe7a2d3c | ||
|
|
20de4ba98f | ||
|
|
4ca3f3b99a | ||
|
|
fbc897f4bb | ||
|
|
16fb63384c | ||
|
|
69bbae848e | ||
|
|
71a5d27676 | ||
|
|
e6087a0548 | ||
|
|
157856f0d0 | ||
|
|
f3549c2276 | ||
|
|
721be7f87c | ||
|
|
8a1172fe8f | ||
|
|
9df7af2326 | ||
|
|
e1fdf15fee | ||
|
|
00fb7be378 | ||
|
|
273b3b8ac0 | ||
|
|
65c908dcfe | ||
|
|
5b603fb1b7 | ||
|
|
2975bbb347 | ||
|
|
56f7e28f5d | ||
|
|
f4617349f8 | ||
|
|
8fc55787d5 | ||
|
|
51619fa391 | ||
|
|
0bccc60ec2 | ||
|
|
9f0c8398d6 | ||
|
|
02c937c251 | ||
|
|
9609669572 | ||
|
|
b56b2d3013 | ||
|
|
0a0f24f8bf | ||
|
|
a256d977ff | ||
|
|
198a9af479 | ||
|
|
6074163f74 | ||
|
|
9a58cb0b3c | ||
|
|
596f8bf885 | ||
|
|
fc2cf6e19f | ||
|
|
b2f1de8924 | ||
|
|
a8c4bc3257 | ||
|
|
26da69af35 | ||
|
|
72c5f9c02d | ||
|
|
6732d3f170 | ||
|
|
5a70cfb8d7 | ||
|
|
1cd238a5df | ||
|
|
9132607dc7 | ||
|
|
c1bb953c71 | ||
|
|
79301a3677 | ||
|
|
764f6144d3 | ||
|
|
c55fc5cfa4 | ||
|
|
cf6ae88c42 | ||
|
|
c4bc06b480 | ||
|
|
4c65f7b0a2 | ||
|
|
b3a2fffb83 | ||
|
|
d2f21677d5 | ||
|
|
a640702789 | ||
|
|
6cd3a97ce2 | ||
|
|
32b6c60dea | ||
|
|
d3d8886e3e | ||
|
|
4b898c5e57 | ||
|
|
26e2d61588 | ||
|
|
a583cad157 | ||
|
|
c4fa4d5361 | ||
|
|
50db74684d | ||
|
|
8c9e028a76 | ||
|
|
44e82f5789 | ||
|
|
fba1e9d0c5 | ||
|
|
b3abcd8a34 | ||
|
|
76a95184ef | ||
|
|
8063c11142 | ||
|
|
70c5d7fcb5 | ||
|
|
6e79f8f999 | ||
|
|
8df7662306 | ||
|
|
c29dac2f32 | ||
|
|
fa6c5d5429 | ||
|
|
e9b91783c2 | ||
|
|
92512da2b0 | ||
|
|
a806380376 | ||
|
|
a0e34ecfee | ||
|
|
0f3bde23fd | ||
|
|
9d3385ff08 | ||
|
|
bb1840dcf9 | ||
|
|
e3fbf25a02 | ||
|
|
4b7d16ec33 | ||
|
|
c7d2788311 | ||
|
|
d01d7450a7 | ||
|
|
908b6e7808 | ||
|
|
20eb83c3fe | ||
|
|
d89a570ad0 | ||
|
|
cafbf45c13 | ||
|
|
670ed18df4 | ||
|
|
86cf005ca2 | ||
|
|
1d30a554a4 | ||
|
|
e4f6cab2c3 | ||
|
|
3bf703845f | ||
|
|
032d0355e7 | ||
|
|
e8d5d67ff2 | ||
|
|
fcef7403cf | ||
|
|
daf04269f5 | ||
|
|
f73f5c1aa5 | ||
|
|
6c7ae8825d | ||
|
|
4d478c9b67 | ||
|
|
c6822cd936 | ||
|
|
f6b00dcf5b | ||
|
|
c36ea5eb07 | ||
|
|
9af8ebe9c7 | ||
|
|
88d4da5097 | ||
|
|
58be64ce2b | ||
|
|
fa6ab4ca82 | ||
|
|
fc4cfc3c83 | ||
|
|
fbbbd2b334 | ||
|
|
845e9001b3 | ||
|
|
e5f281acf1 | ||
|
|
3a37e3f5eb | ||
|
|
8a346e1257 | ||
|
|
fe5e6c081e | ||
|
|
3ffd3e8b8c | ||
|
|
8fde9d7701 | ||
|
|
05b2a03297 | ||
|
|
c54c42dcf3 | ||
|
|
029a4c8213 | ||
|
|
f5bf8c94f7 | ||
|
|
8e23d68942 | ||
|
|
b6e7b8e09a | ||
|
|
0685a79356 | ||
|
|
6bec04b0a3 | ||
|
|
18da1a2ff4 | ||
|
|
ba307b2aff | ||
|
|
6a7f02001d | ||
|
|
ab211d72a3 | ||
|
|
3946b4727b | ||
|
|
3a30d703c0 | ||
|
|
ad86c485cd | ||
|
|
597adbfef1 | ||
|
|
2d2ad8e8d3 | ||
|
|
f2c9167ebb | ||
|
|
0ccb772f10 | ||
|
|
138a1160ab | ||
|
|
e9da49eaf5 | ||
|
|
64de2d2d45 | ||
|
|
1f4fa0ba1f | ||
|
|
1d943ee85e | ||
|
|
5c605854b8 | ||
|
|
11d09ac646 | ||
|
|
269aac9ee9 | ||
|
|
7204e7ba5a | ||
|
|
59dde7cbeb | ||
|
|
11a13337ff | ||
|
|
8649483a69 | ||
|
|
d9b443095f | ||
|
|
9db0be61ad | ||
|
|
29c12bd254 | ||
|
|
ef1f2c1b7b | ||
|
|
1e20b1ed7d | ||
|
|
9d700f942f | ||
|
|
35ca4a5cb4 | ||
|
|
fdb9b9d8c8 | ||
|
|
a1f0e80436 | ||
|
|
1e29c1716d | ||
|
|
7788b67557 | ||
|
|
5baa766b21 | ||
|
|
60d622bdb0 | ||
|
|
63ca897356 | ||
|
|
b584600e1d | ||
|
|
52127174e2 | ||
|
|
a548d2f19b | ||
|
|
edf54b5468 | ||
|
|
8611785073 | ||
|
|
8f6f281866 | ||
|
|
a9f2587716 | ||
|
|
5f7df8099a | ||
|
|
b615180021 | ||
|
|
7a4f2f9a00 | ||
|
|
339414deea | ||
|
|
98f4d8c5f6 | ||
|
|
e8795126ea | ||
|
|
d80a51181a | ||
|
|
cb9be83c31 | ||
|
|
62c865e21f | ||
|
|
1054bfbb0b | ||
|
|
889ba3c824 | ||
|
|
1dd17ad54a | ||
|
|
357cadb362 | ||
|
|
8f16e0b75c | ||
|
|
b0b7f4eed1 | ||
|
|
3e663ebfef | ||
|
|
fd6f77d569 | ||
|
|
dd040e75c3 |
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>php-5.2</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
+15
-37
@@ -11,7 +11,7 @@ all: $(all_targets)
|
||||
@echo "Don't forget to run 'make test'."
|
||||
@echo
|
||||
|
||||
build-modules: $(PHP_MODULES)
|
||||
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
|
||||
|
||||
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
|
||||
@@ -73,6 +73,11 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
|
||||
for i in $(PHP_MODULES)""; do \
|
||||
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
|
||||
done; \
|
||||
fi; \
|
||||
if test "x$(PHP_ZEND_EX)" != "x"; then \
|
||||
for i in $(PHP_ZEND_EX)""; do \
|
||||
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
|
||||
done; \
|
||||
fi`
|
||||
|
||||
test: all
|
||||
@@ -80,50 +85,23 @@ test: all
|
||||
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
CC="$(CC)" \
|
||||
$(PHP_EXECUTABLE) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -U -d extension_dir=modules/ $(PHP_TEST_SHARED_EXTENSIONS) tests/; \
|
||||
$(PHP_EXECUTABLE) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -d extension_dir=modules/ $(PHP_TEST_SHARED_EXTENSIONS) tests/; \
|
||||
elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
|
||||
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
|
||||
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
|
||||
if test "$$INI_FILE"; then \
|
||||
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
|
||||
$(EGREP) -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
|
||||
else \
|
||||
echo > $(top_builddir)/tmp-php.ini; \
|
||||
fi; \
|
||||
INI_SCANNED_PATH=`$(top_builddir)/$(SAPI_CLI_PATH) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
|
||||
if test "$$INI_SCANNED_PATH"; then \
|
||||
INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
|
||||
$(EGREP) -h -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
|
||||
fi; \
|
||||
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
CC="$(CC)" \
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -U -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
|
||||
else \
|
||||
echo "ERROR: Cannot run tests without CLI sapi."; \
|
||||
fi
|
||||
|
||||
utest: all
|
||||
-@if test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
|
||||
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
|
||||
if test "$$INI_FILE"; then \
|
||||
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
|
||||
else \
|
||||
echo > $(top_builddir)/tmp-php.ini; \
|
||||
fi; \
|
||||
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
CC="$(CC)" \
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -u -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
|
||||
else \
|
||||
echo "ERROR: Cannot run tests without CLI sapi."; \
|
||||
fi
|
||||
|
||||
ntest: all
|
||||
-@if test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
|
||||
INI_FILE=`$(top_builddir)/$(SAPI_CLI_PATH) -r 'echo php_ini_loaded_file();'`; \
|
||||
if test "$$INI_FILE"; then \
|
||||
$(EGREP) -v '^extension[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
|
||||
else \
|
||||
echo > $(top_builddir)/tmp-php.ini; \
|
||||
fi; \
|
||||
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
CC="$(CC)" \
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -N -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
|
||||
else \
|
||||
echo "ERROR: Cannot run tests without CLI sapi."; \
|
||||
fi
|
||||
|
||||
@@ -1,40 +1,411 @@
|
||||
PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
27 Mar 2008 , PHP 5.2.6RC3
|
||||
- Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia,
|
||||
Stefan Esser)
|
||||
- Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz)
|
||||
- Fixed bug #44487 (call_user_method_array issues a warning when throwing
|
||||
an exception). (David Soria Parra)
|
||||
- Fixed bug #44478 (Inconsistent behaviour when assigning new nodes).
|
||||
(Rob, Felipe)
|
||||
- Fixed bug #44445 (email validator does not handle domains starting/ending
|
||||
with a -). (Ilia)
|
||||
- Fixed bug #44440 (st_blocks undefined under BeOS). (Felipe)
|
||||
- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
|
||||
- Fixed bug #44388 (Crash inside exif_read_data() on invalid images) (Ilia)
|
||||
- Fixed bug #44373 (PDO_OCI extension compile failed). (Felipe)
|
||||
- Fixed bug #43677 (Inconsistent behaviour of include_path set with
|
||||
php_value). (manuel at mausz dot at)
|
||||
- Fixed bug #43614 (incorrect processing of numerical string keys of array in
|
||||
arbitrary serialized data). (Dmitriy Buldakov, Felipe)
|
||||
- Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes
|
||||
again...). (Felipe)
|
||||
- Fixed bug #41828 (Failing to call RecursiveIteratorIterator::__construct()
|
||||
causes a sefault). (Etienne)
|
||||
12 Feb 2009, PHP 5.2.9RC2
|
||||
- Fixed bug #47353 (crash when creating a lot of objects in object destructor).
|
||||
(Tony)
|
||||
- Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
|
||||
- Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress after
|
||||
end of stream). (Greg)
|
||||
|
||||
06 Mar 2008, PHP 5.2.6RC2
|
||||
- Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags).
|
||||
(Felipe)
|
||||
- Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia)
|
||||
- Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()).
|
||||
02 Feb 2009, PHP 5.2.9RC1
|
||||
- Changed __call() to be invoked on private/protected method access, similar to
|
||||
properties and __get(). (Andrei)
|
||||
|
||||
- Added optional sorting type flag parameter to array_unique(). Default is
|
||||
SORT_STRING. (Andrei)
|
||||
|
||||
- Fixed a crash on extract in zip when files or directories entry names contain
|
||||
a relative path. (Pierre)
|
||||
- Fixed error conditions handling in stream_filter_append(). (Arnaud)
|
||||
- Fixed zip filename property read. (Pierre)
|
||||
- Fixed explode() behavior with empty string to respect negative limit. (Shire)
|
||||
- Fixed security issue in imagerotate(), background colour isn't validated
|
||||
correctly with a non truecolour image. Reported by Hamid Ebadi,
|
||||
APA Laboratory (Fixes CVE-2008-5498). (Scott)
|
||||
- Fixed a segfault when malformed string is passed to json_decode(). (Scott)
|
||||
- Fixed bug in xml_error_string() which resulted in messages being
|
||||
off by one. (Scott)
|
||||
|
||||
- Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses
|
||||
as invalid). (Ilia)
|
||||
- Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob)
|
||||
- Fixed bug #47217 (content-type is not set properly for file uploads).
|
||||
(Ilia)
|
||||
- Fixed bug #42505 (new sendmail default breaks on Netware platform)
|
||||
(Guenter Knauf)
|
||||
- Fixed bug #40013 (php_uname() does not return nodename on Netware
|
||||
(Guenter Knauf)
|
||||
- Fixed bug #47174 (base64_decode() interprets pad char in mid string as
|
||||
terminator). (Ilia)
|
||||
- Fixed bug #47165 (Possible memory corruption when passing return value by
|
||||
reference). (Dmitry)
|
||||
- Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results).
|
||||
(Felipe)
|
||||
- Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). (Ilia)
|
||||
- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
|
||||
- Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object).
|
||||
(Etienne, Dmitry)
|
||||
- Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe)
|
||||
- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
|
||||
(Sriram Natarajan)
|
||||
- Fixed bug #47037 (No error when using fopen with empty string).
|
||||
(Cristian Rodriguez R., Felipe)
|
||||
- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT
|
||||
record). (Felipe)
|
||||
- Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
|
||||
(Derick)
|
||||
- Fixed bug #46985 (OVERWRITE and binary mode does not work, regression introduced in
|
||||
5.2.8). (Pierre)
|
||||
- Fixed bug #46973 (IPv6 address filter rejects valid address). (Felipe)
|
||||
- Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). (Ilia)
|
||||
- Fixed bug #46959 (Unable to disable PCRE). (Scott)
|
||||
- Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly).
|
||||
(Felipe)
|
||||
- Fixed bug #46889 (Memory leak in strtotime()). (Derick)
|
||||
- Fixed bug #46887 (Invalid calls to php_error_docref()).
|
||||
(oeriksson at mandriva dot com, Ilia)
|
||||
- Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists). (Arnaud)
|
||||
- Fixed bug #46843 (CP936 euro symbol is not converted properly).
|
||||
(ty_c at cybozuy dot co dot jp, Moriyoshi)
|
||||
- Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
|
||||
inside a binary or image column type). (Ilia)
|
||||
- Fixed bug #46782 (fastcgi.c parse error). (Matt)
|
||||
- Fixed bug #46760 (SoapClient doRequest fails when proxy is used). (Felipe)
|
||||
- Fixed bug #46748 (Segfault when an SSL error has more than one error). (Scott)
|
||||
- Fixed bug #46739 (array returned by curl_getinfo should contain content_type key).
|
||||
(Mikko)
|
||||
- Fixed bug #46701 (Creating associative array with long values in the key fails
|
||||
on 32bit linux). (Shire)
|
||||
- Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)
|
||||
- Fixed bug #46419 (Elements of associative arrays with NULL value are lost).
|
||||
(Dmitry)
|
||||
- Fixed bug #46282 (Corrupt DBF When Using DATE). (arne at bukkie dot nl)
|
||||
- Fixed bug #46005 (User not consistently logged under Apache2).
|
||||
(admorten at umich dot edu, Stas)
|
||||
- Fixed bug #45996 (libxml2 2.7 causes breakage with character data
|
||||
in xml_parse()). (Rob)
|
||||
- Fixed bug #45239 (Encoding detector hangs with mbstring.strict_detection
|
||||
enabled). (Moriyoshi)
|
||||
- Fixed bug #45161 (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)
|
||||
- Fixed bug #44336 (Improve pcre UTF-8 string matching performance).
|
||||
(frode at coretrek dot com, Nuno)
|
||||
- Fixed bug #35975 (Session cookie expires date format isn't the most compatible.
|
||||
Now matches that of setcookie()). (Scott)
|
||||
|
||||
27 Feb 2008, PHP 5.2.6RC1
|
||||
08 Dec 2008, PHP 5.2.8
|
||||
- Reverted bug fix #42718 that broke magic_quotes_gpc (Scott)
|
||||
|
||||
04 Dec 2008, PHP 5.2.7
|
||||
- Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371). (Ilia)
|
||||
- Updated timezone database to version 2008.9. (Derick)
|
||||
- Upgraded bundled libzip to 0.9.0. (Pierre)
|
||||
|
||||
- Added logging option for error_log to send directly to SAPI. (Stas)
|
||||
- Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
|
||||
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)
|
||||
- Added "PHP_INI_SCAN_DIR" environment variable which can be used to
|
||||
either disable or change the compile time ini scan directory (FR #45114).
|
||||
(Jani)
|
||||
|
||||
- Fixed missing initialization of BG(page_uid) and BG(page_gid),
|
||||
reported by Maksymilian Arciemowicz. (Stas)
|
||||
- Fixed memory leak inside sqlite_create_aggregate(). (Felipe)
|
||||
- Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method.
|
||||
(Felipe)
|
||||
- Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)
|
||||
- Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659).
|
||||
(LaurentGaffie)
|
||||
- Fixed incorrect php_value order for Apache configuration, reported by
|
||||
Maksymilian Arciemowicz. (Stas)
|
||||
- Fixed memory leak inside readline_callback_handler_remove() function.
|
||||
(Felipe)
|
||||
- Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm)
|
||||
- Fixed a bug inside dba_replace() that could cause file truncation
|
||||
withinvalid keys. (Ilia)
|
||||
- Fixed memory leak inside readline_callback_handler_install() function.(Ilia)
|
||||
- Fixed memory leak inside readline_completion_function() function. (Felipe)
|
||||
- Fixed stream_get_contents() when using $maxlength and socket is notclosed.
|
||||
indeyets [at] php [dot] net on #46049. (Arnaud)
|
||||
- Fixed stream_get_line() to behave as documented on non-blocking streams.
|
||||
(Arnaud)
|
||||
- Fixed endless loop in PDOStatement::debugDumpParams().
|
||||
(jonah.harris at gmail dot com)
|
||||
- Fixed ability to use "internal" heaps in extensions. (Arnaud, Dmitry)
|
||||
- Fixed weekdays adding/subtracting algorithm. (Derick)
|
||||
- Fixed some ambiguities in the date parser. (Derick)
|
||||
- Fixed a bug with the YYYY-MM format not resetting the day correctly.
|
||||
(Derick)
|
||||
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
|
||||
relative time strings. (Derick)
|
||||
- Fixed extraction of zip files or directories when the entry name is a
|
||||
relative path. (Pierre)
|
||||
- Fixed read or write errors for large zip archives. (Pierre)
|
||||
- Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666.
|
||||
(Christian Hoffmann)
|
||||
- Fixed simplexml asXML() not to lose encoding when dumping entire
|
||||
document to file. (Ilia)
|
||||
- Fixed a crash inside PDO when trying instantiate PDORow manually.
|
||||
(Felipe)
|
||||
- Fixed build failure of ext/mysqli with libmysql 6.0 - missing
|
||||
rplfunctions. (Andrey)
|
||||
- Fixed a regression when using strip_tags() and < is within an
|
||||
attribute.(Scott)
|
||||
- Fixed a crash on invalid method in ReflectionParameter constructor.
|
||||
(Christian Seiler)
|
||||
- Reverted fix for bug #44197 due to behaviour change in minor version.
|
||||
(Felipe)
|
||||
|
||||
- Fixed bug #46732 (mktime.year description is wrong). (Derick)
|
||||
- Fixed bug #46696 (cURL fails in upload files with specified content-type).
|
||||
(Ilia)
|
||||
- Fixed bug #46673 (stream_lock call with wrong parameter). (Arnaud)
|
||||
- Fixed bug #46649 (Setting array element with that same array produces
|
||||
inconsistent results). (Arnaud)
|
||||
- Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly).
|
||||
(Ilia)
|
||||
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters).
|
||||
(Felipe)
|
||||
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment).
|
||||
(jd at cpanel dot net)
|
||||
- Fixed bug #46496 (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles)
|
||||
- Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter).
|
||||
(Dmitry, Herman Radtke)
|
||||
- Fixed bug #46426 (offset parameter of stream_get_contents() does not
|
||||
workfor "0"). (Felipe)
|
||||
- Fixed bug #46406 (Unregistering nodeclass throws E_FATAL). (Rob)
|
||||
- Fixed bug #46389 (NetWare needs small patch for _timezone).
|
||||
(patch by guenter@php.net)
|
||||
- Fixed bug #46388 (stream_notification_callback inside of object destroys
|
||||
object variables). (Felipe)
|
||||
- Fixed bug #46381 (wrong $this passed to internal methods causes segfault).
|
||||
(Tony)
|
||||
- Fixed bug #46379 (Infinite loop when parsing '#' in one line file). (Arnaud)
|
||||
- Fixed bug #46366 (bad cwd with / as pathinfo). (Dmitry)
|
||||
- Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option).
|
||||
(bugs at trick dot vanstaveren dot us)
|
||||
- Fixed bug #46343 (IPv6 address filter accepts invalid address). (Ilia)
|
||||
- Fixed bug #46335 (DOMText::splitText doesn't handle multibyte characters).
|
||||
(Rob)
|
||||
- Fixed bug #46323 (compilation of simplexml for NetWare breaks).
|
||||
(Patch by guenter [at] php [dot] net)
|
||||
- Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
|
||||
response code, in cgi sapi). (Ilia)
|
||||
- Fixed bug #46313 (Magic quotes broke $_FILES). (Arnaud)
|
||||
- Fixed bug #46308 (Invalid write when changing property from inside getter).
|
||||
(Dmitry)
|
||||
- Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when
|
||||
using FETCH_CLASSTYPE). (Felipe)
|
||||
- Fixed bug #46274, #46249 (pdo_pgsql always fill in NULL for empty BLOB and
|
||||
segfaults when returned by SELECT). (Felipe)
|
||||
- Fixed bug #46271 (local_cert option is not resolved to full path). (Ilia)
|
||||
- Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback
|
||||
without event). (Felipe)
|
||||
- Fixed bug #46246 (difference between call_user_func(array($this, $method))
|
||||
and $this->$method()). (Dmitry)
|
||||
- Fixed bug #46222 (ArrayObject EG(uninitialized_var_ptr) overwrite).
|
||||
(Etienne)
|
||||
- Fixed bug #46215 (json_encode mutates its parameter and has some
|
||||
class-specific state). (Felipe)
|
||||
- Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
|
||||
strings). (Ilia)
|
||||
- Fixed bug #46191 (BC break: DOMDocument saveXML() doesn't accept null).
|
||||
(Rob)
|
||||
- Fixed bug #46164 (stream_filter_remove() closes the stream). (Arnaud)
|
||||
- Fixed bug #46157 (PDOStatement::fetchObject prototype error). (Felipe)
|
||||
- Fixed bug #46147 (after stream seek, appending stream filter reads
|
||||
incorrect data). (Greg)
|
||||
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE).
|
||||
(chsc at peytz dot dk, Felipe)
|
||||
- Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context
|
||||
on accepted stream) (Mark Karpeles, Pierre)
|
||||
- Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
|
||||
multiple calls). (Ilia)
|
||||
- Fixed bug #46088 (RegexIterator::accept - segfault). (Felipe)
|
||||
- Fixed bug #46082 (stream_set_blocking() can cause a crash in some
|
||||
circumstances). (Felipe)
|
||||
- Fixed bug #46064 (Exception when creating ReflectionProperty object
|
||||
on dynamicly created property). (Felipe)
|
||||
- Fixed bug #46059 (Compile failure under IRIX 6.5.30 building posix.c).
|
||||
(Arnaud)
|
||||
- Fixed bug #46053 (SplFileObject::seek - Endless loop). (Arnaud)
|
||||
- Fixed bug #46051 (SplFileInfo::openFile - memory overlap). (Arnaud)
|
||||
- Fixed bug #46047 (SimpleXML converts empty nodes into object with
|
||||
nested array). (Rob)
|
||||
- Fixed bug #46031 (Segfault in AppendIterator::next). (Arnaud)
|
||||
- Fixed bug #46029 (Segfault in DOMText when using with Reflection). (Rob)
|
||||
- Fixed bug #46026 (bzip2.decompress/zlib.inflate filter tries to decompress
|
||||
after end of stream). (Keisial at gmail dot com, Greg)
|
||||
- Fixed bug #46024 (stream_select() doesn't return the correct number).
|
||||
(Arnaud)
|
||||
- Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode).
|
||||
(Felipe)
|
||||
- Fixed bug #46003 (isset on nonexisting node return unexpected results). (Rob)
|
||||
- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors
|
||||
in parsed file). (Jani)
|
||||
- Fixed bug #45901 (wddx_serialize_value crash with SimpleXMLElement object).
|
||||
(Rob)
|
||||
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and
|
||||
'private' variables). (ilewis at uk dot ibm dot com, Felipe)
|
||||
- Fixed bug #45860 (header() function fails to correctly replace all Status
|
||||
lines). (Dmitry)
|
||||
- Fixed bug #45805 (Crash on throwing exception from error handler). (Dmitry)
|
||||
- Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause
|
||||
an error). (Felipe)
|
||||
- Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address
|
||||
use)). (basant dot kukreja at sun dot com)
|
||||
- Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi)
|
||||
- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).
|
||||
(Jani)
|
||||
- Fixed bug #45691 (Some per-dir or runtime settings may leak into other
|
||||
requests). (Moriyoshi)
|
||||
- Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items). (Arnaud)
|
||||
- Fixed bug #45580 (levenshtein() crashes with invalid argument). (Ilia)
|
||||
- Fixed bug #45575 (Segfault with invalid non-string as event handler callback).
|
||||
(Christian Seiler)
|
||||
- Fixed bug #45568 (ISAPI doesn't properly clear auth_digest in header).
|
||||
(Patch by: navara at emclient dot com)
|
||||
- Fixed bug #45556 (Return value from callback isn't freed). (Felipe)
|
||||
- Fixed bug #45555 (Segfault with invalid non-string as
|
||||
register_introspection_callback). (Christian Seiler)
|
||||
- Fixed bug #45553 (Using XPath to return values for attributes with a
|
||||
namespace does not work). (Rob)
|
||||
- Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
|
||||
different). (Derick)
|
||||
- Fixed bug #45522 (FCGI_GET_VALUES request does not return supplied values).
|
||||
(Arnaud)
|
||||
- Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset='
|
||||
parsing incorrect). (Felipe)
|
||||
- Fixed bug #45485 (strip_tags and <?XML tag). (Felipe)
|
||||
- Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't
|
||||
accept lengths of 1024). (Felipe, andrew at lifescale dot com)
|
||||
- Fixed bug #45449 (filesize() regression using ftp wrapper).
|
||||
(crrodriguez at suse dot de)
|
||||
- Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown
|
||||
before shutdown) (basant dot kukreja at sun dot com)
|
||||
- Fixed bug #45406 (session.serialize_handler declared by shared extension fails).
|
||||
(Kalle, oleg dot grenrus at dynamoid dot com)
|
||||
- Fixed bug #45405 (snmp extension memory leak).
|
||||
(Federico Cuello, Rodrigo Campos)
|
||||
- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). (Arnaud)
|
||||
- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (Ilia)
|
||||
- Fixed bug #45373 (php crash on query with errors in params). (Felipe)
|
||||
- Fixed bug #45352 (Segmentation fault because of tick function on second
|
||||
request). (Dmitry)
|
||||
- Fixed bug #45312 (Segmentation fault on second request for array functions).
|
||||
(Dmitry)
|
||||
- Fixed bug #45303 (Opening php:// wrapper in append mode results in a warning).
|
||||
(Arnaud)
|
||||
- Fixed bug #45251 (double free or corruption with setAttributeNode()). (Rob)
|
||||
- Fixed bug #45226 and #18916 (xmlrpc_set_type() segfaults and wrong behavior
|
||||
with valid ISO8601 date string). (Jeff Lawsons)
|
||||
- Fixed bug #45220 (curl_read callback returns -1 when needs to return
|
||||
size_t (unsigned)). (Felipe)
|
||||
- Fixed bug #45181 (chdir() should clear relative entries in stat cache).
|
||||
(Arnaud)
|
||||
- Fixed bug #45178 (memory corruption on assignment result of "new" by
|
||||
reference). (Dmitry)
|
||||
- Fixed bug #45166 (substr() overflow changes). (Felipe)
|
||||
- Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)).
|
||||
(Fixes CVE-2008-3660) (Dmitry)
|
||||
- Fixed bug #45139 (ReflectionProperty returns incorrect declaring class).
|
||||
(Felipe)
|
||||
- Fixed bug #45124 ($_FILES['upload']['size'] sometimes return zero and some
|
||||
times the filesize). (Arnaud)
|
||||
- Fixed bug #45028 (CRC32 output endianness is different between crc32() and
|
||||
hash()). (Tony)
|
||||
- Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format).
|
||||
(Ilia)
|
||||
- Fixed bug #44991 (Compile Failure With freetds0.82).
|
||||
(jklowden at freetds dot org, matthias at dsx dot at)
|
||||
- Fixed bug #44938 (gettext functions crash with overly long domain).
|
||||
(Christian Schneider, Ilia)
|
||||
- Fixed bug #44925 (preg_grep() modifies input array). (Nuno)
|
||||
- Fixed bug #44900 (OpenSSL extension fails to link with OpenSSL 0.9.6).
|
||||
(jd at cpanel dot net, Pierre)
|
||||
- Fixed bug #44891 Memory leak using registerPHPFunctions and XSLT Variable
|
||||
as function parameter. (Rob)
|
||||
- Fixed bug #44882 (SOAP extension object decoding bug). (Dmitry)
|
||||
- Fixed bug #44830 (Very minor issue with backslash in heredoc). (Matt)
|
||||
- Fixed bug #44818 (php://memory writeable when opened read only). (Arnaud)
|
||||
- Fixed bug #44811 (Improve error message when creating a new SoapClient
|
||||
that contains invalid data). (Markus Fischer, David C)
|
||||
- Fixed bug #44798 (Memory leak assigning value to attribute). (Ilia)
|
||||
- Fixed bug #44716 (Progress notifications incorrect). (Hannes)
|
||||
- Fixed bug #44712 (stream_context_set_params segfaults on invalid arguments).
|
||||
(Hannes)
|
||||
- Fixed bug #44617 (wrong HTML entity output when substitute_character=entity).
|
||||
(Moriyoshi)
|
||||
- Fixed bug #44607 (stream_get_line unable to correctly identify the "ending"
|
||||
in the stream content). (Arnaud)
|
||||
- Fixed bug #44425 (Extending PDO/MySQL class with a __call() function doesn't
|
||||
work). (Johannes)
|
||||
- Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash).
|
||||
(Felipe)
|
||||
- Fixed bug #44251, #41125 (PDO + quote() + prepare() can result in segfault).
|
||||
(tsteiner at nerdclub dot net)
|
||||
- Fixed bug #44246 (closedir() accepts a file resource opened by fopen()).
|
||||
(Dmitry, Tony)
|
||||
- Fixed bug #44182 (extract($a, EXTR_REFS) can fail to split copy-on-write
|
||||
references). (robin_fernandes at uk dot ibm dot com)
|
||||
- Fixed bug #44181 (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create
|
||||
references to $a). (robin_fernandes at uk dot ibm dot com)
|
||||
- Fixed bug #44127 (UNIX abstract namespace socket connect does not work).
|
||||
(Jani)
|
||||
- Fixed bug #43993 (mb_substr_count() behaves differently to substr_count()
|
||||
with overlapping needles). (Moriyoshi)
|
||||
- Fixed Bug #43958 (class name added into the error message). (Dmitry)
|
||||
- Fixed bug #43941 (json_encode silently cuts non-UTF8 strings). (Stas)
|
||||
- Fixed bug #43925 (Incorrect argument counter in prepared statements with
|
||||
pgsql). (Felipe)
|
||||
- Fixed bug #43731 (socket_getpeername: cannot use on stdin with inetd).
|
||||
(Arnaud)
|
||||
- Fixed bug #43723 (SOAP not sent properly from client for <choice>). (Dmitry)
|
||||
- Fixed bug #43668 (Added odbc.default_cursortype to control the ODBCcursor
|
||||
model). (Patrick)
|
||||
- Fixed bug #43666 (Fixed code to use ODBC 3.52 datatypes for 64bit
|
||||
systems). (Patrick)
|
||||
- Fixed bug #43540 (rfc1867 handler newlength problem). (Arnaud)
|
||||
- Fixed bug #43452 (strings containing a weekday, or a number plus weekday
|
||||
behaved incorrect of the current day-of-week was the same as the one in the
|
||||
phrase). (Derick)
|
||||
- Fixed bug #43353 (wrong detection of 'data' wrapper causes notice).
|
||||
(gk at gknw dot de, Arnaud)
|
||||
- Fixed bug #43053 (Regression: some numbers shown in scientific notation).
|
||||
(int-e at gmx dot de)
|
||||
- Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float).
|
||||
(Dmitry)
|
||||
- Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer
|
||||
overflow). (Fixes CVE-2008-2829) (Dmitry)
|
||||
- Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record).
|
||||
(a dot u dot savchuk at gmail dot com)
|
||||
- Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines).
|
||||
(Nuno)
|
||||
- Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as default
|
||||
filter). (Arnaud)
|
||||
- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=path).
|
||||
(Jani)
|
||||
- Fixed bug #42473 (ob_start php://output and headers). (Arnaud)
|
||||
- Fixed bug #42318 (problem with nm on AIX, not finding object files).
|
||||
(Dmitry)
|
||||
- Fixed bug #42294 (Unified solution for round() based on C99 round). (Ilia)
|
||||
- Fixed bug #42078 (pg_meta_data mix tables metadata from different schemas).
|
||||
(Felipe)
|
||||
- Fixed bug #41348 (OCI8: allow compilation with Oracle 8.1). (Chris Jones)
|
||||
- Fixed bug #41033 (enable signing with DSA keys.
|
||||
(gordyf at google dot com, Pierre)
|
||||
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR). (Tony)
|
||||
- Fixed bug #30312 (crash in sybase_unbuffered_query() function). (Timm)
|
||||
- Fixed bug #24679 (pg_* functions doesn't work using schema). (Felipe)
|
||||
- Fixed bug #14962 (PECL) (::extractTo 2nd argument is not really optional)
|
||||
(Mark van Der Velden)
|
||||
- Fixed bug #14032 (Mail() always returns false but mail is sent). (Mikko)
|
||||
|
||||
|
||||
01 May 2008, PHP 5.2.6
|
||||
- Fixed two possible crashes inside posix extension (Tony)
|
||||
- Fixed incorrect heredoc handling when label is used within the block.
|
||||
(Matt)
|
||||
- Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)
|
||||
- Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)
|
||||
- Fixed a bug in formatting timestamps when DST is active in the default timezone (Derick)
|
||||
- Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)
|
||||
- Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz)
|
||||
- Fixed security issue detailed in CVE-2008-0599. (Rasmus)
|
||||
- Fixed potential memleak in stream filter parameter for zlib filter. (Greg)
|
||||
- Added Reflection API metadata for the methods of the DOM classes. (Sebastian)
|
||||
@@ -45,155 +416,128 @@ PHP NEWS
|
||||
which to group by data is specified. (Ilia)
|
||||
- Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig,
|
||||
Felipe)
|
||||
- Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter). (Greg)
|
||||
- Upgraded PCRE to version 7.6 (Nuno)
|
||||
|
||||
|
||||
- Fixed bug #44742 (timezone_offset_get() causes segmentation faults). (Derick)
|
||||
- Fixed bug #44720 (Prevent crash within session_register()). (Scott)
|
||||
- Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby)
|
||||
- Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) (Dmitry)
|
||||
- Fixed bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)
|
||||
- Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter invalid). (Ilia)
|
||||
- Fixed bug #44650 (escaepshellscmd() does not check arg count). (Ilia)
|
||||
- Fixed bug #44613 (Crash inside imap_headerinfo()). (Ilia, jmessa)
|
||||
- Fixed bug #44603 (Order issues with Content-Type/Length headers on POST). (Ilia)
|
||||
- Fixed bug #44594 (imap_open() does not validate # of retries parameter). (Ilia)
|
||||
- Fixed bug #44591 (imagegif's filename parameter). (Felipe)
|
||||
- Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (Thomas Jarosch)
|
||||
- Fixed bug #44487 (call_user_method_array issues a warning when throwing an exception). (David Soria Parra)
|
||||
- Fixed bug #44478 (Inconsistent behaviour when assigning new nodes). (Rob, Felipe)
|
||||
- Fixed bug #44445 (email validator does not handle domains starting/ending with a -). (Ilia)
|
||||
- Fixed bug #44440 (st_blocks undefined under BeOS). (Felipe)
|
||||
- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
|
||||
- Fixed bug #44388 (Crash inside exif_read_data() on invalid images) (Ilia)
|
||||
- Fixed bug #44373 (PDO_OCI extension compile failed). (Felipe)
|
||||
- Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags). (Felipe)
|
||||
- Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia)
|
||||
- Fixed bug #44242 (metaphone('CMXFXM') crashes PHP). (Felipe)
|
||||
- Fixed bug #44233 (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at
|
||||
gmail dot com, Ilia)
|
||||
- Fixed bug #44233 (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at gmail dot com, Ilia)
|
||||
- Fixed bug #44216 (strftime segfaults on large negative value). (Derick)
|
||||
- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
|
||||
bound parameters are present). (Ilia)
|
||||
- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit
|
||||
platforms). (Derick)
|
||||
- Fixed bug #44206 (OCI8 selecting ref cursors leads to ORA-1000 maximum
|
||||
open cursors reached). (Oracle Corp.)
|
||||
- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick)
|
||||
- Fixed bug #44206 (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). (Oracle Corp.)
|
||||
- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present). (Ilia)
|
||||
- Fixed bug #44197 (socket array keys lost on socket_select). (Felipe)
|
||||
- Fixed bug #44191 (preg_grep messes up array index). (Felipe)
|
||||
- Fixed bug #44189 (PDO setAttribute() does not properly validate values for
|
||||
native numeric options). (Ilia)
|
||||
- Fixed bug #44189 (PDO setAttribute() does not properly validate values for native numeric options). (Ilia)
|
||||
- Fixed bug #44184 (Double free of loop-variable on exception). (Dmitry)
|
||||
- Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error). (Ilia)
|
||||
- Fixed bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)).
|
||||
(Felipe)
|
||||
- Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia)
|
||||
- Fixed bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)). (Felipe)
|
||||
- Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). (Ilia)
|
||||
- Fixed bug #44141 (private parent constructor callable through static
|
||||
function). (Dmitry)
|
||||
- Fixed bug #44113 (OCI8 new collection creation can fail with OCI-22303).
|
||||
(Oracle Corp.)
|
||||
- Fixed bug #44069 (Huge memory usage with concatenation using . instead of
|
||||
.=). (Dmitry)
|
||||
- Fixed bug #44046 (crash inside array_slice() function with an invalid
|
||||
by-ref offset). (Ilia)
|
||||
- Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling
|
||||
encryption without crypto type). (Ilia)
|
||||
- Fixed bug #44141 (private parent constructor callable through static function). (Dmitry)
|
||||
- Fixed bug #44113 (OCI8 new collection creation can fail with OCI-22303). (Oracle Corp.)
|
||||
- Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=). (Dmitry)
|
||||
- Fixed bug #44046 (crash inside array_slice() function with an invalid by-ref offset). (Ilia)
|
||||
- Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling encryption without crypto type). (Ilia)
|
||||
- Fixed bug #44018 (RecursiveDirectoryIterator options inconsistancy). (Marcus)
|
||||
- Fixed bug #44008 (OCI8 incorrect usage of OCI-Lob->close crashes PHP).
|
||||
(Oracle Corp.)
|
||||
- Fixed bug #43998 (Two error messages returned for incorrect encoding for
|
||||
mb_strto[upper|lower]). (Rui)
|
||||
- Fixed bug #44008 (OCI8 incorrect usage of OCI-Lob->close crashes PHP). (Oracle Corp.)
|
||||
- Fixed bug #43998 (Two error messages returned for incorrect encoding for mb_strto[upper|lower]). (Rui)
|
||||
- Fixed bug #43994 (mb_ereg 'successfully' matching incorrect). (Rui)
|
||||
- Fixed bug #43954 (Memory leak when sending the same HTTP status code
|
||||
multiple times). (Scott)
|
||||
- Fixed bug #43927 (koi8r is missing from html_entity_decode()).
|
||||
(andy at demos dot su, Tony)
|
||||
- Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter).
|
||||
(Greg)
|
||||
- Fixed bug #43912 (Interbase column names are truncated to 31 characters).
|
||||
(Ilia)
|
||||
- Fixed bug #43875 (Two error messages returned for $new and $flag argument
|
||||
in mysql_connect()). (Hannes)
|
||||
- Fixed bug #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251).
|
||||
(phprus at gmail dot com, Tony)
|
||||
- Fixed bug #43954 (Memory leak when sending the same HTTP status code multiple times). (Scott)
|
||||
- Fixed bug #43927 (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony)
|
||||
- Fixed bug #43912 (Interbase column names are truncated to 31 characters). (Ilia)
|
||||
- Fixed bug #43875 (Two error messages returned for $new and $flag argument in mysql_connect()). (Hannes)
|
||||
- Fixed bug #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251). (phprus at gmail dot com, Tony)
|
||||
- Fixed bug #43841 (mb_strrpos offset is byte count for negative values). (Rui)
|
||||
- Fixed bug #43840 (mb_strpos bounds check is byte count rather than a character
|
||||
count). (Rui)
|
||||
- Fixed bug #43840 (mb_strpos bounds check is byte count rather than a character count). (Rui)
|
||||
- Fixed bug #43808 (date_create never fails (even when it should)). (Derick)
|
||||
- Fixed bug #43793 (zlib filter is unable to auto-detect gzip/zlib file headers).
|
||||
(Greg)
|
||||
- Fixed bug #43793 (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg)
|
||||
- Fixed bug #43703 (Signature compatibility check broken). (Dmitry)
|
||||
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
|
||||
(David Soria Parra)
|
||||
- Fixed bug #43677 (Inconsistent behaviour of include_path set with php_value). (manuel at mausz dot at)
|
||||
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). (David Soria Parra)
|
||||
- Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia)
|
||||
- Fixed bug #43635 (mysql extension ingores INI settings on NULL values
|
||||
passed to mysql_connect()). (Ilia)
|
||||
- Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result
|
||||
in a crash). (Ilia)
|
||||
- Fixed bug #43606 (define missing depencies of the exif extension).
|
||||
(crrodriguez at suse dot de)
|
||||
- Fixed bug #43635 (mysql extension ingores INI settings on NULL values passed to mysql_connect()). (Ilia)
|
||||
- Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result in a crash). (Ilia)
|
||||
- Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data). (Dmitriy Buldakov, Felipe)
|
||||
- Fixed bug #43606 (define missing depencies of the exif extension). (crrodriguez at suse dot de)
|
||||
- Fixed bug #43589 (a possible infinite loop in bz2_filter.c). (Greg)
|
||||
- Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()
|
||||
function). (Ilia)
|
||||
- Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with
|
||||
duplicate NULL values). (Felipe, Tony)
|
||||
- Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url() function). (Ilia)
|
||||
- Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values). (Felipe, Tony)
|
||||
- Fixed bug #43533 (escapeshellarg('') returns null). (Ilia)
|
||||
- Fixed bug #43527 (DateTime created from a timestamp reports environment
|
||||
timezone). (Derick)
|
||||
- Fixed bug #43522 (stream_get_line() eats additional characters). (Felipe,
|
||||
Ilia, Tony)
|
||||
- Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set
|
||||
the HTTP Status). (Dmitry)
|
||||
- Fixed bug #43527 (DateTime created from a timestamp reports environment timezone). (Derick)
|
||||
- Fixed bug #43522 (stream_get_line() eats additional characters). (Felipe, Ilia, Tony)
|
||||
- Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status). (Dmitry)
|
||||
- Fixed bug #43505 (Assign by reference bug). (Dmitry)
|
||||
- Fixed bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory).
|
||||
(Chris)
|
||||
- Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays).
|
||||
(Ilia)
|
||||
- Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
|
||||
allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)
|
||||
- Fixed bug #43493 (pdo_pgsql does not send username on connect when password
|
||||
is not available). (Ilia)
|
||||
- Fixed bug #43491 (Under certain conditions, file_exists() never returns).
|
||||
(Dmitry)
|
||||
- Fixed bug #43483 (get_class_methods() does not list all visible methods).
|
||||
(Dmitry)
|
||||
- Fixed bug #43482 (array_pad() does not warn on very small pad numbers).
|
||||
(Ilia)
|
||||
- Fixed bug #43457 (Prepared statement with incorrect parms doesn't throw
|
||||
exception with pdo_pgsql driver). (Ilia)
|
||||
- Fixed bug #43450 (Memory leak on some functions with implicit object
|
||||
__toString() call). (David C.)
|
||||
- Fixed bug #43498 (file_exists() on a proftpd server got SIZE not allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)
|
||||
- Fixed bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory). (Chris)
|
||||
- Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays). (Ilia)
|
||||
- Fixed bug #43493 (pdo_pgsql does not send username on connect when password is not available). (Ilia)
|
||||
- Fixed bug #43491 (Under certain conditions, file_exists() never returns). (Dmitry)
|
||||
- Fixed bug #43483 (get_class_methods() does not list all visible methods). (Dmitry)
|
||||
- Fixed bug #43482 (array_pad() does not warn on very small pad numbers). (Ilia)
|
||||
- Fixed bug #43457 (Prepared statement with incorrect parms doesn't throw exception with pdo_pgsql driver). (Ilia)
|
||||
- Fixed bug #43450 (Memory leak on some functions with implicit object __toString() call). (David C.)
|
||||
- Fixed bug #43386 (array_globals not reset to 0 properly on init). (Ilia)
|
||||
- Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone). (Ilia)
|
||||
- Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error). (Ilia)
|
||||
- Fixed bug #43364 (recursive xincludes don't remove internal xml nodes
|
||||
properly). (Rob, patch from ddb@bitxtender.de)
|
||||
- Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL).
|
||||
(Jani)
|
||||
- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is
|
||||
invalid PHP expression and 'e' option is used). (Jani)
|
||||
- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
|
||||
using a timestamp). (Derick)
|
||||
- Fixed bug #43295 (crash because of uninitialized SG(sapi_headers).mimetype).
|
||||
(Dmitry)
|
||||
- Fixed bug #43364 (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from ddb@bitxtender.de)
|
||||
- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' option is used). (Jani)
|
||||
- Fixed bug #43295 (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry)
|
||||
- Fixed bug #43293 (Multiple segfaults in getopt()). (Hannes)
|
||||
- Fixed bug #43279 (pg_send_query_params() converts all elements in 'params'
|
||||
to strings). (Ilia)
|
||||
- Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under safe_mode).
|
||||
(Ilia)
|
||||
- Fixed bug #43279 (pg_send_query_params() converts all elements in 'params' to strings). (Ilia)
|
||||
- Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under safe_mode). (Ilia)
|
||||
- Fixed bug #43248 (backward compatibility break in realpath()). (Dmitry)
|
||||
- Fixed bug #43221 (SimpleXML adding default namespace in addAttribute). (Rob)
|
||||
- Fixed bug #43216 (stream_is_local() returns false on "file://"). (Dmitry)
|
||||
- Fixed bug #43201 (Crash on using uninitialized vals and __get/__set). (Dmitry)
|
||||
- Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file
|
||||
truncation). (Ilia)
|
||||
- Fixed bug #43175 (__destruct() throwing an exception with __call() causes
|
||||
segfault). (Dmitry)
|
||||
- Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia)
|
||||
- Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault). (Dmitry)
|
||||
- Fixed bug #43128 (Very long class name causes segfault). (Dmitry)
|
||||
- Fixed bug #43105 (PHP seems to fail to close open files). (Hannes)
|
||||
- Fixed bug #42978 (mismatch between number of bound params and values causes
|
||||
a crash in pdo_pgsql). (Ilia)
|
||||
- Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL). (Jani)
|
||||
- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp). (Derick)
|
||||
- Fixed bug #42978 (mismatch between number of bound params and values causes a crash in pdo_pgsql). (Ilia)
|
||||
- Fixed bug #42945 (preg_split() swallows part of the string). (Nuno)
|
||||
- Fixed bug #42937 (__call() method not invoked when methods are called on
|
||||
parent from child class). (Dmitry)
|
||||
- Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). (Dmitry)
|
||||
- Fixed bug #42841 (REF CURSOR and oci_new_cursor() crash PHP). (Chris)
|
||||
- Fixed Bug #42838 (Wrong results in array_diff_uassoc) (Felipe)
|
||||
- Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
|
||||
response). (Ilia)
|
||||
- Fixed bug #42838 (Wrong results in array_diff_uassoc) (Felipe)
|
||||
- Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response). (Ilia)
|
||||
- Fixed bug #42736 (xmlrpc_server_call_method() crashes). (Tony)
|
||||
- Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer).
|
||||
(Dmitry)
|
||||
- Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer). (Dmitry)
|
||||
- Fixed bug #42548 (mysqli PROCEDURE calls can't return result sets). (Hartmut)
|
||||
- Fixed bug #42369 (Implicit conversion to string leaks memory).
|
||||
(David C., Rob).
|
||||
- Fixed bug #42505 (new sendmail default breaks on Netware platform) (Guenter Knauf)
|
||||
- Fixed bug #42369 (Implicit conversion to string leaks memory). (David C., Rob).
|
||||
- Fixed bug #42272 (var_export() incorrectly escapes char(0)). (Derick)
|
||||
- Fixed bug #42261 (Incorrect lengths for date and boolean data types).
|
||||
(Ilia)
|
||||
- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates
|
||||
DateTimeZone). (Derick)
|
||||
- Fixed bug #42261 (Incorrect lengths for date and boolean data types). (Ilia)
|
||||
- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates DateTimeZone). (Derick)
|
||||
- Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe)
|
||||
- Fixed bug #41941 (oci8 extension not lib64 savvy). (Chris)
|
||||
- Fixed bug #41828 (Failing to call RecursiveIteratorIterator::__construct() causes a sefault). (Etienne)
|
||||
- Fixed bug #41599 (setTime() fails after modify() is used). (Derick)
|
||||
- Fixed bug #41562 (SimpleXML memory issue). (Rob)
|
||||
- Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter Knauf)
|
||||
- Fixed bug #38468 (Unexpected creation of cycle). (Dmitry)
|
||||
- Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build) (stotty at tvnet dot hu)
|
||||
|
||||
08 Nov 2007, PHP 5.2.5
|
||||
- Upgraded PCRE to version 7.3 (Nuno)
|
||||
|
||||
+14
-14
@@ -1,11 +1,11 @@
|
||||
[IMPORTANT NOTICE]
|
||||
------------------
|
||||
This is an addendum to README.TESTING with additional information
|
||||
specific to run-tests2.php.
|
||||
specific to server-tests.php.
|
||||
|
||||
run-tests2.php is backward compatible with tests developed for
|
||||
the original run-tests.php script. run-tests2 is *not* used by
|
||||
'make test'. run-tests2 was developed to provide support for
|
||||
server-tests.php is backward compatible with tests developed for
|
||||
the original run-tests.php script. server-tests is *not* used by
|
||||
'make test'. server-tests was developed to provide support for
|
||||
testing PHP under it's primary environment, HTTP, and can run the
|
||||
PHP tests under any of the SAPI modules that are direct executables,
|
||||
or are accessable via HTTP.
|
||||
@@ -13,12 +13,12 @@ or are accessable via HTTP.
|
||||
[New features]
|
||||
----------------
|
||||
* Command line interface:
|
||||
You can run 'php run-tests2.php -h' to get all the possible options.
|
||||
You can run 'php server-tests.php -h' to get all the possible options.
|
||||
* Configuration file:
|
||||
the -c argument will allow you to use a configuration file. This is
|
||||
handy if you are testing multiple environments and need various options
|
||||
depending on the environment.
|
||||
see run-tests-config.php for details.
|
||||
see server-tests-config.php for details.
|
||||
* CGI Emulation:
|
||||
Will emulate a CGI environment when testing with the cgi sapi executable.
|
||||
* HTTP testing:
|
||||
@@ -39,23 +39,23 @@ make testing work.
|
||||
Some (but not all!) examples of usage:
|
||||
|
||||
1. run tests from the php source directory
|
||||
php run-tests2.php -p /path/to/php-cli
|
||||
php server-tests.php -p /path/to/php-cli
|
||||
|
||||
2. run tests using cgi emulation
|
||||
php run-tests2.php -p /path/to/php-cgi
|
||||
php server-tests.php -p /path/to/php-cgi
|
||||
|
||||
3. run tests over http, copying test files into document root
|
||||
php run-tests2.php -w -u http://localhost/test -m /path/to/htdocs/test
|
||||
php server-tests.php -w -u http://localhost/test -m /path/to/htdocs/test
|
||||
|
||||
4. run tests over http, php sources have been aliased in web server
|
||||
php run-tests2.php -w -u http://localhost/test
|
||||
php server-tests.php -w -u http://localhost/test
|
||||
|
||||
5. run tests using configuration file
|
||||
php run-tests2.php -c /path/to/run-tests-config.php
|
||||
php server-tests.php -c /path/to/server-tests-config.php
|
||||
|
||||
6. run tests using configuration file, but overriding some settings:
|
||||
(config file must be first)
|
||||
php run-tests2.php -c /path/to/run-tests-config.php -w -t 3 -d /path/to/testdir
|
||||
php server-tests.php -c /path/to/server-tests-config.php -w -t 3 -d /path/to/testdir
|
||||
|
||||
NOTE: configuration as described in README.TESTING still works.
|
||||
|
||||
@@ -63,7 +63,7 @@ NOTE: configuration as described in README.TESTING still works.
|
||||
----------------
|
||||
In addition to the traditional test sections
|
||||
(see http://qa.php.net/write-test.php), several new sections are available
|
||||
under run-tests2.
|
||||
under server-tests.
|
||||
|
||||
--POST--
|
||||
This is not a new section, but not multipart posts are supported for testing
|
||||
@@ -97,7 +97,7 @@ include:
|
||||
$scriptname this is what will become SCRIPT_NAME unless you override it
|
||||
$docroot the equivelant of DOCUMENT_ROOT under Apache
|
||||
$cwd the directory that the test is being initiated from
|
||||
$this->conf all run-tests2 configuration vars
|
||||
$this->conf all server-tests configuration vars
|
||||
$this->env all environment variables that will get passed to the test
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Thread Safe Resource Manager |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1999-2008, Andi Gutmans, Sascha Schumann, Zeev Suraski |
|
||||
| Copyright (c) 1999-2009, Andi Gutmans, Sascha Schumann, Zeev Suraski |
|
||||
| This source file is subject to the TSRM license, that is bundled |
|
||||
| with this package in the file LICENSE |
|
||||
+----------------------------------------------------------------------+
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Thread Safe Resource Manager |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1999-2008, Andi Gutmans, Sascha Schumann, Zeev Suraski |
|
||||
| Copyright (c) 1999-2009, Andi Gutmans, Sascha Schumann, Zeev Suraski |
|
||||
| This source file is subject to the TSRM license, that is bundled |
|
||||
| with this package in the file LICENSE |
|
||||
+----------------------------------------------------------------------+
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -491,6 +491,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
|
||||
int use_relative_path = 0;
|
||||
#ifdef TSRM_WIN32
|
||||
int is_unc;
|
||||
int exists;
|
||||
#endif
|
||||
TSRMLS_FETCH();
|
||||
|
||||
@@ -589,6 +590,7 @@ no_realpath:
|
||||
CWD_STATE_COPY(&old_state, state);
|
||||
|
||||
#ifdef TSRM_WIN32
|
||||
exists = (use_realpath != CWD_EXPAND);
|
||||
ret = 0;
|
||||
is_unc = 0;
|
||||
if (path_length >= 2 && path[1] == ':') {
|
||||
@@ -696,13 +698,16 @@ no_realpath:
|
||||
ptr_length = length;
|
||||
FindClose(hFind);
|
||||
ret = 0;
|
||||
} else if (use_realpath == CWD_REALPATH) {
|
||||
} else {
|
||||
if (is_unc) {
|
||||
/* skip share name */
|
||||
is_unc--;
|
||||
ret = 0;
|
||||
} else {
|
||||
ret = 1;
|
||||
exists = 0;
|
||||
if (use_realpath == CWD_REALPATH) {
|
||||
ret = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -742,7 +747,7 @@ no_realpath:
|
||||
|
||||
/* Store existent file in realpath cache. */
|
||||
#ifdef TSRM_WIN32
|
||||
if (use_cache && !is_unc) {
|
||||
if (use_cache && !is_unc && exists) {
|
||||
#else
|
||||
if (use_cache && (use_realpath == CWD_REALPATH)) {
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+11
-11
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -88,7 +88,7 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode)
|
||||
{
|
||||
if (mode == 1 /*X_OK*/) {
|
||||
#if 1
|
||||
/* This code is not supported by Windows 98,
|
||||
/* This code is not supported by Windows 98,
|
||||
* but we don't support it anymore */
|
||||
DWORD type;
|
||||
|
||||
@@ -96,7 +96,7 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode)
|
||||
#else
|
||||
SHFILEINFO sfi;
|
||||
|
||||
return access(pathname, 0) == 0 &&
|
||||
return access(pathname, 0) == 0 &&
|
||||
SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), SHGFI_EXETYPE) != 0 ? 0 : -1;
|
||||
#endif
|
||||
} else {
|
||||
@@ -109,22 +109,22 @@ static process_pair *process_get(FILE *stream TSRMLS_DC)
|
||||
{
|
||||
process_pair *ptr;
|
||||
process_pair *newptr;
|
||||
|
||||
|
||||
for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) {
|
||||
if (ptr->stream == stream) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (ptr < (TWG(process) + TWG(process_size))) {
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair));
|
||||
if (newptr == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
TWG(process) = newptr;
|
||||
ptr = newptr + TWG(process_size);
|
||||
TWG(process_size)++;
|
||||
@@ -136,7 +136,7 @@ static shm_pair *shm_get(int key, void *addr)
|
||||
shm_pair *ptr;
|
||||
shm_pair *newptr;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
|
||||
for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) {
|
||||
if (!ptr->descriptor) {
|
||||
continue;
|
||||
@@ -151,12 +151,12 @@ static shm_pair *shm_get(int key, void *addr)
|
||||
if (ptr < (TWG(shm) + TWG(shm_size))) {
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
newptr = (shm_pair*)realloc((void*)TWG(shm), (TWG(shm_size)+1)*sizeof(shm_pair));
|
||||
if (newptr == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
TWG(shm) = newptr;
|
||||
ptr = newptr + TWG(shm_size);
|
||||
TWG(shm_size)++;
|
||||
@@ -195,7 +195,7 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
|
||||
if (!str_len || !CreatePipe(&in, &out, &security, 2048L)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
memset(&startup, 0, sizeof(STARTUPINFO));
|
||||
memset(&process, 0, sizeof(PROCESS_INFORMATION));
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2008 The PHP Group |
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ dnl This file contains local autoconf functions.
|
||||
|
||||
AC_DEFUN([LIBZEND_BISON_CHECK],[
|
||||
# we only support certain bison versions
|
||||
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3"
|
||||
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4"
|
||||
|
||||
# for standalone build of Zend Engine
|
||||
test -z "$SED" && SED=sed
|
||||
|
||||
+6
-6
@@ -23,18 +23,18 @@ var_dump(constant("test const"));
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: Wrong parameter count for define() in %s on line %d
|
||||
Warning: define() expects at least 2 parameters, 0 given in %s on line %d
|
||||
NULL
|
||||
|
||||
Warning: Wrong parameter count for define() in %s on line %d
|
||||
Warning: define() expects at least 2 parameters, 1 given in %s on line %d
|
||||
NULL
|
||||
bool(true)
|
||||
|
||||
Notice: Constant true already defined in %s on line %d
|
||||
bool(false)
|
||||
Warning: define() expects parameter 3 to be boolean, array given in %s on line %d
|
||||
NULL
|
||||
|
||||
Notice: Array to string conversion in %s on line %d
|
||||
bool(true)
|
||||
Warning: define() expects parameter 1 to be string, array given in %s on line %d
|
||||
NULL
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
--TEST--
|
||||
__call() for private/protected methods
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
private $var1 = 'var1 value';
|
||||
protected $var2 = 'var2 value';
|
||||
|
||||
private function func1()
|
||||
{
|
||||
return "in func1";
|
||||
}
|
||||
protected function func2()
|
||||
{
|
||||
return "in func2";
|
||||
}
|
||||
public function __get($var)
|
||||
{
|
||||
return $this->$var;
|
||||
}
|
||||
public function __call($func, array $args = array())
|
||||
{
|
||||
return call_user_func_array(array($this, $func), $args);
|
||||
}
|
||||
}
|
||||
|
||||
$a = new A();
|
||||
echo $a->var1,"\n";
|
||||
echo $a->var2,"\n";
|
||||
echo $a->func1(),"\n";
|
||||
echo $a->func2(),"\n";
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
var1 value
|
||||
var2 value
|
||||
in func1
|
||||
in func2
|
||||
@@ -0,0 +1,21 @@
|
||||
--TEST--
|
||||
Trigger __call() in lieu of non visible methods when called via a callback.
|
||||
--FILE--
|
||||
<?php
|
||||
class C {
|
||||
protected function prot() { }
|
||||
private function priv() { }
|
||||
public function __call($name, $args) {
|
||||
echo "In __call() for method $name()\n";
|
||||
}
|
||||
}
|
||||
|
||||
$c = new C;
|
||||
call_user_func(array($c, 'none'));
|
||||
call_user_func(array($c, 'prot'));
|
||||
call_user_func(array($c, 'priv'));
|
||||
?>
|
||||
--EXPECTF--
|
||||
In __call() for method none()
|
||||
In __call() for method prot()
|
||||
In __call() for method priv()
|
||||
@@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
Bug #38469 Unexpected creation of cycle
|
||||
Bug #38469 (Unexpected creation of cycle)
|
||||
--FILE--
|
||||
<?php
|
||||
$a = array();
|
||||
@@ -8,6 +8,16 @@ var_dump($a);
|
||||
$b = array(array());
|
||||
$b[0][0] = $b;
|
||||
var_dump($b);
|
||||
|
||||
function f() {
|
||||
$a = array();
|
||||
$a[0] = $a;
|
||||
var_dump($a);
|
||||
$b = array(array());
|
||||
$b[0][0] = $b;
|
||||
var_dump($b);
|
||||
}
|
||||
f();
|
||||
?>
|
||||
--EXPECT--
|
||||
array(1) {
|
||||
@@ -26,3 +36,19 @@ array(1) {
|
||||
}
|
||||
}
|
||||
}
|
||||
array(1) {
|
||||
[0]=>
|
||||
array(0) {
|
||||
}
|
||||
}
|
||||
array(1) {
|
||||
[0]=>
|
||||
array(1) {
|
||||
[0]=>
|
||||
array(1) {
|
||||
[0]=>
|
||||
array(0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ if (extension_loaded("readline")) die("skip Test doesn't support readline");
|
||||
--FILE--
|
||||
<?php
|
||||
$php = getenv('TEST_PHP_EXECUTABLE');
|
||||
$cmd = "$php -d memory_limit=4M -a ".dirname(__FILE__)."/bug40236.inc";
|
||||
$cmd = "\"$php\" -n -d memory_limit=4M -a \"".dirname(__FILE__)."\"/bug40236.inc";
|
||||
echo `$cmd`;
|
||||
?>
|
||||
--EXPECTF--
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
Bug #41372 Internal pointer of source array resets during array copying
|
||||
Bug #41372 (Internal pointer of source array resets during array copying)
|
||||
--FILE--
|
||||
<?php
|
||||
$Foo = array('val1', 'val2', 'val3');
|
||||
|
||||
@@ -8,4 +8,4 @@ $foo[3]->bar[1] = "bang";
|
||||
echo "ok\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Fatal error: Cannot use string offset as an object in %s/bug41919.php on line %d
|
||||
Fatal error: Cannot use string offset as an object in %sbug41919.php on line %d
|
||||
@@ -0,0 +1,14 @@
|
||||
--TEST--
|
||||
Bug #43053 (Regression: some numbers shown in scientific notation)
|
||||
--FILE--
|
||||
<?php
|
||||
echo 1200000.00."\n";
|
||||
echo 1300000.00."\n";
|
||||
echo 1400000.00."\n";
|
||||
echo 1500000.00."\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
1200000
|
||||
1300000
|
||||
1400000
|
||||
1500000
|
||||
@@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
Bug #43128 Very long class name causes segfault
|
||||
Bug #43128 (Very long class name causes segfault)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--TEST--
|
||||
Bug #44830 (Very minor issue with backslash in heredoc)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$backslash = <<<EOT
|
||||
\
|
||||
EOT;
|
||||
|
||||
var_dump($backslash);
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
string(1) "\"
|
||||
Executable
+29
@@ -0,0 +1,29 @@
|
||||
--TEST--
|
||||
Bug #45178 memory corruption on assignment result of "new" by reference
|
||||
--FILE--
|
||||
<?php
|
||||
class Foo {
|
||||
function __construct() {
|
||||
$this->error = array($this,$this);
|
||||
}
|
||||
}
|
||||
$a =& new Foo();
|
||||
|
||||
class Bar {
|
||||
function __construct() {
|
||||
$this->_rme2 = $this;
|
||||
}
|
||||
}
|
||||
|
||||
$b =& new Bar();
|
||||
$b->_rme2 = 0;
|
||||
var_dump($b);
|
||||
?>
|
||||
--EXPECTF--
|
||||
Strict Standards: Assigning the return value of new by reference is deprecated in %sbug45178.php on line 7
|
||||
|
||||
Strict Standards: Assigning the return value of new by reference is deprecated in %sbug45178.php on line 15
|
||||
object(Bar)#%d (1) {
|
||||
["_rme2"]=>
|
||||
int(0)
|
||||
}
|
||||
Executable
+48
@@ -0,0 +1,48 @@
|
||||
--TEST--
|
||||
Bug #45805 (Crash on throwing exception from error handler)
|
||||
--SKIPIF--
|
||||
<?php extension_loaded('reflection') or die('skip'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
class PHPUnit_Util_ErrorHandler
|
||||
{
|
||||
public static function handleError($errno, $errstr, $errfile, $errline)
|
||||
{
|
||||
throw new RuntimeException;
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
public function getX() {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
public function foo() {
|
||||
$obj = new A;
|
||||
$source = &$obj->getX();
|
||||
}
|
||||
|
||||
public function bar() {
|
||||
$m = new ReflectionMethod('B', 'foo');
|
||||
$m->invoke($this);
|
||||
}
|
||||
}
|
||||
|
||||
set_error_handler(
|
||||
array('PHPUnit_Util_ErrorHandler', 'handleError'), E_ALL | E_STRICT
|
||||
);
|
||||
|
||||
$o = new B;
|
||||
$o->bar();
|
||||
?>
|
||||
--EXPECTF--
|
||||
Fatal error: Uncaught exception 'RuntimeException' in %sbug45805.php:%d
|
||||
Stack trace:
|
||||
#0 %sbug45805.php(%d): PHPUnit_Util_ErrorHandler::handleError(2048, 'Only variables ...', '%s', %d, Array)
|
||||
#1 [internal function]: B->foo()
|
||||
#2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
|
||||
#3 %sbug45805.php(%d): B->bar()
|
||||
#4 {main}
|
||||
thrown in %sbug45805.php on line %d
|
||||
@@ -0,0 +1,43 @@
|
||||
--TEST--
|
||||
Bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class Ancestor {
|
||||
function test() {
|
||||
var_dump(get_class_vars("Tester"));
|
||||
var_dump(Tester::$prot);
|
||||
}
|
||||
}
|
||||
|
||||
class Tester extends Ancestor {
|
||||
static protected $prot = "protected var";
|
||||
static private $priv = "private var";
|
||||
}
|
||||
|
||||
class Child extends Tester {
|
||||
function test() { var_dump(get_class_vars("Tester")); }
|
||||
}
|
||||
|
||||
echo "\n From parent scope\n";
|
||||
$parent = new Ancestor();
|
||||
$parent->test();
|
||||
echo "\n From child scope\n";
|
||||
$child = new Child();
|
||||
$child->test();
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
|
||||
From parent scope
|
||||
array(1) {
|
||||
["prot"]=>
|
||||
string(13) "protected var"
|
||||
}
|
||||
string(13) "protected var"
|
||||
|
||||
From child scope
|
||||
array(1) {
|
||||
["prot"]=>
|
||||
string(13) "protected var"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
--TEST--
|
||||
Bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method())
|
||||
--FILE--
|
||||
<?php
|
||||
class A
|
||||
{
|
||||
private function Test()
|
||||
{
|
||||
echo 'Hello from '.get_class($this)."\n";
|
||||
}
|
||||
|
||||
public function call($method, $args = array())
|
||||
{
|
||||
$this->Test();
|
||||
$this->$method();
|
||||
call_user_func(array($this, $method));
|
||||
}
|
||||
}
|
||||
|
||||
class B extends A
|
||||
{
|
||||
protected function Test()
|
||||
{
|
||||
echo 'Overridden hello from '.get_class($this)."\n";
|
||||
}
|
||||
}
|
||||
|
||||
$a = new A;
|
||||
$b = new B;
|
||||
|
||||
$a->call('Test');
|
||||
$b->call('Test');
|
||||
?>
|
||||
--EXPECT--
|
||||
Hello from A
|
||||
Hello from A
|
||||
Hello from A
|
||||
Hello from B
|
||||
Hello from B
|
||||
Hello from B
|
||||
@@ -0,0 +1,33 @@
|
||||
--TEST--
|
||||
Bug #46308 (Invalid write when changing property from inside getter)
|
||||
--FILE--
|
||||
<?php
|
||||
class main
|
||||
{
|
||||
public static $dummy = NULL ;
|
||||
public static $dataAccessor = NULL ;
|
||||
}
|
||||
|
||||
class dataAccessor
|
||||
{
|
||||
}
|
||||
|
||||
class relay
|
||||
{
|
||||
public function __get( $name )
|
||||
{
|
||||
main::$dataAccessor = new dataAccessor;
|
||||
}
|
||||
}
|
||||
|
||||
class dummy
|
||||
{
|
||||
}
|
||||
|
||||
main::$dummy = new dummy();
|
||||
main::$dataAccessor = new relay();
|
||||
main::$dataAccessor->bar;
|
||||
echo "ok\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
ok
|
||||
@@ -0,0 +1,19 @@
|
||||
--TEST--
|
||||
Bug #46381 (wrong $this passed to internal methods causes segfault)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("spl")) die("skip SPL is no available"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class test {
|
||||
public function test() {
|
||||
return ArrayIterator::current();
|
||||
}
|
||||
}
|
||||
$test = new test();
|
||||
$test->test();
|
||||
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Fatal error: Non-static method ArrayIterator::current() cannot be called statically, assuming $this from incompatible context in %s on line %d
|
||||
@@ -0,0 +1,42 @@
|
||||
--TEST--
|
||||
Bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
|
||||
--SKIPIF--
|
||||
<?php if (PHP_INT_MAX != 4) die('skip this test is for 32bit platforms only'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$test_array = array(
|
||||
0xcc5c4600 => 1,
|
||||
0xce331a00 => 2
|
||||
);
|
||||
$test_array[0xce359000] = 3;
|
||||
|
||||
var_dump($test_array);
|
||||
var_dump($test_array[0xce331a00]);
|
||||
|
||||
class foo {
|
||||
public $x;
|
||||
|
||||
public function __construct() {
|
||||
$this->x[0xce359000] = 3;
|
||||
var_dump($this->x);
|
||||
}
|
||||
}
|
||||
|
||||
new foo;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(3) {
|
||||
[-866368000]=>
|
||||
int(1)
|
||||
[-835511808]=>
|
||||
int(2)
|
||||
[-835350528]=>
|
||||
int(3)
|
||||
}
|
||||
int(2)
|
||||
array(1) {
|
||||
[-835350528]=>
|
||||
int(3)
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
--TEST--
|
||||
Bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
|
||||
--FILE--
|
||||
<?php
|
||||
$a->{"a"."b"};
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Undefined variable: a in %sbug47109.php on line 2
|
||||
|
||||
Notice: Trying to get property of non-object in %sbug47109.php on line 2
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
--TEST--
|
||||
Bug #47165 (Possible memory corruption when passing return value by reference)
|
||||
--FILE--
|
||||
<?php
|
||||
class Foo {
|
||||
var $bar = array();
|
||||
|
||||
static function bar() {
|
||||
static $instance = null;
|
||||
$instance = new Foo();
|
||||
return $instance->bar;
|
||||
}
|
||||
}
|
||||
extract(Foo::bar());
|
||||
echo "ok\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
ok
|
||||
@@ -0,0 +1,26 @@
|
||||
--TEST--
|
||||
Bug #47353 (crash when creating a lot of objects in object destructor)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A
|
||||
{
|
||||
function __destruct()
|
||||
{
|
||||
$myArray = array();
|
||||
|
||||
for($i = 1; $i <= 3000; $i++) {
|
||||
if(!isset($myArray[$i]))
|
||||
$myArray[$i] = array();
|
||||
$ref = & $myArray[$i];
|
||||
$ref[] = new stdClass();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$a = new A();
|
||||
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Done
|
||||
@@ -0,0 +1,16 @@
|
||||
--TEST--
|
||||
Testing declare statement with several type values
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
declare(encoding = 1);
|
||||
declare(encoding = 1123131232131312321);
|
||||
declare(encoding = NULL);
|
||||
declare(encoding = M_PI);
|
||||
declare(encoding = 'utf-8');
|
||||
|
||||
print 'DONE';
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
DONE
|
||||
@@ -0,0 +1,28 @@
|
||||
--TEST--
|
||||
Testing exception properties
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class my_file
|
||||
{
|
||||
public function __toString()
|
||||
{
|
||||
return "somebuildfilename" ;
|
||||
}
|
||||
}
|
||||
|
||||
class my_exception extends exception
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->message = new stdclass ;
|
||||
$this->file = new my_file ;
|
||||
$this->line = "12" ;
|
||||
}
|
||||
}
|
||||
|
||||
throw new my_exception;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Catchable fatal error: Object of class stdClass could not be converted to string in Unknown on line 0
|
||||
@@ -0,0 +1,55 @@
|
||||
--TEST--
|
||||
get_class_methods(): Testing scope
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
abstract class A {
|
||||
public function a() { }
|
||||
private function b() { }
|
||||
protected function c() { }
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
private function bb() { }
|
||||
|
||||
static public function test() {
|
||||
var_dump(get_class_methods('A'));
|
||||
var_dump(get_class_methods('B'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var_dump(get_class_methods('A'));
|
||||
var_dump(get_class_methods('B'));
|
||||
|
||||
|
||||
B::test();
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(1) {
|
||||
[0]=>
|
||||
string(1) "a"
|
||||
}
|
||||
array(2) {
|
||||
[0]=>
|
||||
string(4) "test"
|
||||
[1]=>
|
||||
string(1) "a"
|
||||
}
|
||||
array(2) {
|
||||
[0]=>
|
||||
string(1) "a"
|
||||
[1]=>
|
||||
string(1) "c"
|
||||
}
|
||||
array(4) {
|
||||
[0]=>
|
||||
string(2) "bb"
|
||||
[1]=>
|
||||
string(4) "test"
|
||||
[2]=>
|
||||
string(1) "a"
|
||||
[3]=>
|
||||
string(1) "c"
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
--TEST--
|
||||
get_class_methods(): Testing with interface
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
interface A {
|
||||
function a();
|
||||
function b();
|
||||
}
|
||||
|
||||
class B implements A {
|
||||
public function a() { }
|
||||
public function b() { }
|
||||
|
||||
public function __construct() {
|
||||
var_dump(get_class_methods('A'));
|
||||
var_dump(get_class_methods('B'));
|
||||
}
|
||||
|
||||
public function __destruct() { }
|
||||
}
|
||||
|
||||
new B;
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Strict Standards: Redefining already defined constructor for class B in %s on line %d
|
||||
array(2) {
|
||||
[0]=>
|
||||
string(1) "a"
|
||||
[1]=>
|
||||
string(1) "b"
|
||||
}
|
||||
array(4) {
|
||||
[0]=>
|
||||
string(1) "a"
|
||||
[1]=>
|
||||
string(1) "b"
|
||||
[2]=>
|
||||
string(11) "__construct"
|
||||
[3]=>
|
||||
string(10) "__destruct"
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
--TEST--
|
||||
get_class_methods(): Testing scope
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
interface A {
|
||||
function aa();
|
||||
function bb();
|
||||
static function cc();
|
||||
}
|
||||
|
||||
class C {
|
||||
public function a() { }
|
||||
protected function b() { }
|
||||
private function c() { }
|
||||
|
||||
static public function static_a() { }
|
||||
static protected function static_b() { }
|
||||
static private function static_c() { }
|
||||
}
|
||||
|
||||
class B extends C implements A {
|
||||
public function aa() { }
|
||||
public function bb() { }
|
||||
|
||||
static function cc() { }
|
||||
|
||||
public function __construct() {
|
||||
var_dump(get_class_methods('A'));
|
||||
var_dump(get_class_methods('B'));
|
||||
var_dump(get_class_methods('C'));
|
||||
}
|
||||
|
||||
public function __destruct() { }
|
||||
}
|
||||
|
||||
new B;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(3) {
|
||||
[0]=>
|
||||
string(2) "aa"
|
||||
[1]=>
|
||||
string(2) "bb"
|
||||
[2]=>
|
||||
string(2) "cc"
|
||||
}
|
||||
array(9) {
|
||||
[0]=>
|
||||
string(2) "aa"
|
||||
[1]=>
|
||||
string(2) "bb"
|
||||
[2]=>
|
||||
string(2) "cc"
|
||||
[3]=>
|
||||
string(11) "__construct"
|
||||
[4]=>
|
||||
string(10) "__destruct"
|
||||
[5]=>
|
||||
string(1) "a"
|
||||
[6]=>
|
||||
string(1) "b"
|
||||
[7]=>
|
||||
string(8) "static_a"
|
||||
[8]=>
|
||||
string(8) "static_b"
|
||||
}
|
||||
array(4) {
|
||||
[0]=>
|
||||
string(1) "a"
|
||||
[1]=>
|
||||
string(1) "b"
|
||||
[2]=>
|
||||
string(8) "static_a"
|
||||
[3]=>
|
||||
string(8) "static_b"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
--TEST--
|
||||
get_class_vars(): Simple test
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
public $a = 1;
|
||||
private $b = 2;
|
||||
private $c = 3;
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
static public $aa = 4;
|
||||
static private $bb = 5;
|
||||
static protected $cc = 6;
|
||||
}
|
||||
|
||||
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(1) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
array(2) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
["aa"]=>
|
||||
int(4)
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing the scope
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
public $a = 1;
|
||||
private $b = 2;
|
||||
private $c = 3;
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
static public $aa = 4;
|
||||
static private $bb = 5;
|
||||
static protected $cc = 6;
|
||||
}
|
||||
|
||||
class C extends B {
|
||||
public function __construct() {
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
|
||||
var_dump($this->a, $this->b, $this->c);
|
||||
}
|
||||
}
|
||||
|
||||
new C;
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
array(1) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
array(3) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
["aa"]=>
|
||||
int(4)
|
||||
["cc"]=>
|
||||
int(6)
|
||||
}
|
||||
|
||||
Notice: Undefined property: C::$b in %s on line %d
|
||||
|
||||
Notice: Undefined property: C::$c in %s on line %d
|
||||
int(1)
|
||||
NULL
|
||||
NULL
|
||||
@@ -0,0 +1,47 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing the scope
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
public $a = 1;
|
||||
private $b = 2;
|
||||
private $c = 3;
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
static public $aa = 4;
|
||||
static private $bb = 5;
|
||||
static protected $cc = 6;
|
||||
|
||||
protected function __construct() {
|
||||
var_dump(get_class_vars('C'));
|
||||
}
|
||||
}
|
||||
|
||||
class C extends B {
|
||||
public $aaa = 7;
|
||||
private $bbb = 8;
|
||||
protected $ccc = 9;
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
|
||||
new C;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(5) {
|
||||
["aaa"]=>
|
||||
int(7)
|
||||
["ccc"]=>
|
||||
int(9)
|
||||
["a"]=>
|
||||
int(1)
|
||||
["aa"]=>
|
||||
int(4)
|
||||
["cc"]=>
|
||||
int(6)
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing the scope
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
public $a = 1;
|
||||
static public $A = 2;
|
||||
|
||||
private $b = 3;
|
||||
static private $B = 4;
|
||||
|
||||
protected $c = 5;
|
||||
static protected $C = 6;
|
||||
|
||||
public function __construct() {
|
||||
var_dump(get_class_vars('A'));
|
||||
}
|
||||
|
||||
static public function test() {
|
||||
var_dump(get_class_vars('A'));
|
||||
}
|
||||
}
|
||||
|
||||
var_dump(get_class_vars('A'));
|
||||
|
||||
new A;
|
||||
|
||||
var_dump(A::test());
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(2) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
["A"]=>
|
||||
int(2)
|
||||
}
|
||||
array(6) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
["b"]=>
|
||||
int(3)
|
||||
["c"]=>
|
||||
int(5)
|
||||
["A"]=>
|
||||
int(2)
|
||||
["B"]=>
|
||||
int(4)
|
||||
["C"]=>
|
||||
int(6)
|
||||
}
|
||||
array(6) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
["b"]=>
|
||||
int(3)
|
||||
["c"]=>
|
||||
int(5)
|
||||
["A"]=>
|
||||
int(2)
|
||||
["B"]=>
|
||||
int(4)
|
||||
["C"]=>
|
||||
int(6)
|
||||
}
|
||||
NULL
|
||||
@@ -0,0 +1,39 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing visibility
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
protected $a = 1;
|
||||
private $b = 2;
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
private $c = 3;
|
||||
public function __construct() {
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
}
|
||||
}
|
||||
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
|
||||
new B;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(0) {
|
||||
}
|
||||
array(0) {
|
||||
}
|
||||
array(1) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
array(2) {
|
||||
["c"]=>
|
||||
int(3)
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing visibility
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
protected $a = 1;
|
||||
}
|
||||
|
||||
class B extends A { }
|
||||
|
||||
class C extends B { }
|
||||
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
var_dump(get_class_vars('C'));
|
||||
|
||||
print "---\n";
|
||||
|
||||
class D extends B {
|
||||
public function __construct() {
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(get_class_vars('B'));
|
||||
var_dump(get_class_vars('C'));
|
||||
}
|
||||
}
|
||||
|
||||
new D;
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(0) {
|
||||
}
|
||||
array(0) {
|
||||
}
|
||||
array(0) {
|
||||
}
|
||||
---
|
||||
array(1) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
array(1) {
|
||||
["a"]=>
|
||||
int(1)
|
||||
}
|
||||
array(0) {
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
--TEST--
|
||||
get_class_vars(): Testing with static properties
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class A {
|
||||
static public $a, $aa;
|
||||
static private $b, $bb;
|
||||
static protected $c, $cc;
|
||||
|
||||
static public function test() {
|
||||
var_dump(get_class_vars(__CLASS__));
|
||||
}
|
||||
}
|
||||
|
||||
var_dump(get_class_vars('A'));
|
||||
var_dump(A::test());
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
array(2) {
|
||||
["a"]=>
|
||||
NULL
|
||||
["aa"]=>
|
||||
NULL
|
||||
}
|
||||
array(6) {
|
||||
["a"]=>
|
||||
NULL
|
||||
["aa"]=>
|
||||
NULL
|
||||
["b"]=>
|
||||
NULL
|
||||
["bb"]=>
|
||||
NULL
|
||||
["c"]=>
|
||||
NULL
|
||||
["cc"]=>
|
||||
NULL
|
||||
}
|
||||
NULL
|
||||
@@ -22,7 +22,7 @@ foreach ($doubles as $d) {
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
float(4083360297110%d)
|
||||
float(4.0833602971%dE+14)
|
||||
float(4.7223664828%dE+21)
|
||||
float(1.3521606402%dE+31)
|
||||
float(1.9807040628%dE+27)
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
--TEST--
|
||||
Testing isset and unset with variable variables
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
print "- isset ---\n";
|
||||
|
||||
$var_name = 'unexisting';
|
||||
|
||||
if (isset($$var_name)) {
|
||||
print "error\n";
|
||||
}
|
||||
|
||||
$test = 'var_name';
|
||||
|
||||
if (isset($$$test)) {
|
||||
print "error\n";
|
||||
}
|
||||
|
||||
print "- unset ---\n";
|
||||
|
||||
unset($$var_name);
|
||||
|
||||
unset($$$test);
|
||||
|
||||
print "done\n";
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
- isset ---
|
||||
- unset ---
|
||||
done
|
||||
@@ -0,0 +1,10 @@
|
||||
--TEST--
|
||||
Testing isset with several undefined variables as argument
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
var_dump(isset($a, ${$b}, $$c, $$$$d, $e[$f->g]->d));
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(false)
|
||||
@@ -0,0 +1,40 @@
|
||||
--TEST--
|
||||
Testing isset accessing undefined array itens and properties
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$a = 'foo';
|
||||
$b =& $a;
|
||||
|
||||
var_dump(isset($b));
|
||||
|
||||
var_dump(isset($a[0], $b[1]));
|
||||
|
||||
var_dump(isset($a[0]->a));
|
||||
|
||||
var_dump(isset($c[0][1][2]->a->b->c->d));
|
||||
|
||||
var_dump(isset(${$a}->{$b->$c[$d]}));
|
||||
|
||||
var_dump(isset($GLOBALS));
|
||||
|
||||
var_dump(isset($GLOBALS[1]));
|
||||
|
||||
var_dump(isset($GLOBALS[1]->$GLOBALS));
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(false)
|
||||
bool(false)
|
||||
|
||||
Notice: Undefined variable: d in %s on line %d
|
||||
|
||||
Notice: Undefined variable: c in %s on line %d
|
||||
|
||||
Notice: Trying to get property of non-object in %s on line %d
|
||||
bool(false)
|
||||
bool(true)
|
||||
bool(false)
|
||||
bool(false)
|
||||
@@ -0,0 +1,74 @@
|
||||
--TEST--
|
||||
Testing method_exists()
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
class bar {
|
||||
static public function stat_a2() {
|
||||
}
|
||||
static private function stat_b2() {
|
||||
}
|
||||
static protected function stat_c2() {
|
||||
}
|
||||
|
||||
private function method_a() {
|
||||
}
|
||||
protected function method_b() {
|
||||
}
|
||||
public function method_c() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
class baz extends bar {
|
||||
static public function stat_a() {
|
||||
}
|
||||
static private function stat_b() {
|
||||
}
|
||||
static protected function stat_c() {
|
||||
}
|
||||
|
||||
private function method_a() {
|
||||
}
|
||||
protected function method_b() {
|
||||
}
|
||||
public function method_c() {
|
||||
}
|
||||
}
|
||||
|
||||
var_dump(method_exists('baz', 'stat_a'));
|
||||
var_dump(method_exists('baz', 'stat_b'));
|
||||
var_dump(method_exists('baz', 'stat_c'));
|
||||
print "----\n";
|
||||
var_dump(method_exists('baz', 'stat_a2'));
|
||||
var_dump(method_exists('baz', 'stat_b2'));
|
||||
var_dump(method_exists('baz', 'stat_c2'));
|
||||
print "----\n";
|
||||
|
||||
$baz = new baz;
|
||||
var_dump(method_exists($baz, 'method_a'));
|
||||
var_dump(method_exists($baz, 'method_b'));
|
||||
var_dump(method_exists($baz, 'method_c'));
|
||||
print "----\n";
|
||||
var_dump(method_exists($baz, 'stat_a'));
|
||||
var_dump(method_exists($baz, 'stat_b'));
|
||||
var_dump(method_exists($baz, 'stat_c'));
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
----
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
----
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
----
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
--TEST--
|
||||
Zend Multibyte and UTF-8 BOM
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
|
||||
die("skip Requires configure --enable-zend-multibyte option");
|
||||
}
|
||||
if (!extension_loaded("mbstring")) {
|
||||
die("skip Requires mbstring extension");
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
mbstring.internal_encoding=iso-8859-1
|
||||
--FILE--
|
||||
<?php
|
||||
print "Hello World\n";
|
||||
?>
|
||||
===DONE===
|
||||
--EXPECT--
|
||||
Hello World
|
||||
===DONE===
|
||||
BIN
Binary file not shown.
@@ -1,3 +1,5 @@
|
||||
<?php
|
||||
|
||||
unset($x)
|
||||
|
||||
?>
|
||||
@@ -15,5 +15,5 @@ echo "Done\n";
|
||||
float(-100)
|
||||
float(808792757210)
|
||||
float(-4.5646456464565E+27)
|
||||
float(-11276204760067000)
|
||||
float(-1.1276204760067E+16)
|
||||
Done
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -101,7 +101,7 @@ ZEND_API zval zval_used_for_init; /* True global variable */
|
||||
/* version information */
|
||||
static char *zend_version_info;
|
||||
static uint zend_version_info_length;
|
||||
#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright (c) 1998-2008 Zend Technologies\n"
|
||||
#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright (c) 1998-2009 Zend Technologies\n"
|
||||
|
||||
|
||||
#define PRINT_ZVAL_INDENT 4
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+10
-2
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -1779,9 +1779,13 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr
|
||||
efree(lc_class_name);
|
||||
}
|
||||
while (ptr->fname) {
|
||||
if (zend_hash_exists(target_function_table, ptr->fname, strlen(ptr->fname)+1)) {
|
||||
fname_len = strlen(ptr->fname);
|
||||
lowercase_name = zend_str_tolower_dup(ptr->fname, fname_len);
|
||||
if (zend_hash_exists(target_function_table, lowercase_name, fname_len+1)) {
|
||||
efree(lowercase_name);
|
||||
zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? scope->name : "", scope ? "::" : "", ptr->fname);
|
||||
}
|
||||
efree(lowercase_name);
|
||||
ptr++;
|
||||
}
|
||||
zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);
|
||||
@@ -2212,6 +2216,10 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze
|
||||
retval = 0;
|
||||
}
|
||||
}
|
||||
if (!retval && *zobj_ptr_ptr && *ce_ptr && (*ce_ptr)->__call != 0) {
|
||||
retval = (*ce_ptr)->__call != NULL;
|
||||
*fptr_ptr = (*ce_ptr)->__call;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+24
-11
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -164,7 +164,7 @@ static zend_mm_segment* zend_mm_mem_mmap_realloc(zend_mm_storage *storage, zend_
|
||||
|
||||
static void zend_mm_mem_mmap_free(zend_mm_storage *storage, zend_mm_segment* segment)
|
||||
{
|
||||
munmap(segment, segment->size);
|
||||
munmap((void*)segment, segment->size);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -399,9 +399,9 @@ struct _zend_mm_heap {
|
||||
size_t compact_size;
|
||||
zend_mm_segment *segments_list;
|
||||
zend_mm_storage *storage;
|
||||
size_t real_size;
|
||||
size_t real_size;
|
||||
size_t real_peak;
|
||||
size_t limit;
|
||||
size_t limit;
|
||||
size_t size;
|
||||
size_t peak;
|
||||
size_t reserve_size;
|
||||
@@ -432,8 +432,8 @@ struct _zend_mm_heap {
|
||||
|
||||
#define ZEND_MM_REST_BUCKET(heap) \
|
||||
(zend_mm_free_block*)((char*)&heap->rest_buckets[0] + \
|
||||
sizeof(zend_mm_free_block*) * 2 - \
|
||||
sizeof(zend_mm_small_free_block))
|
||||
sizeof(zend_mm_free_block*) * 2 - \
|
||||
sizeof(zend_mm_small_free_block))
|
||||
|
||||
#if ZEND_MM_COOKIES
|
||||
|
||||
@@ -1061,16 +1061,26 @@ ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers,
|
||||
}
|
||||
if (internal) {
|
||||
int i;
|
||||
zend_mm_free_block *p;
|
||||
zend_mm_free_block *p, *q, *orig;
|
||||
zend_mm_heap *mm_heap = _zend_mm_alloc_int(heap, sizeof(zend_mm_heap) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC);
|
||||
|
||||
*mm_heap = *heap;
|
||||
|
||||
p = ZEND_MM_SMALL_FREE_BUCKET(mm_heap, 0);
|
||||
orig = ZEND_MM_SMALL_FREE_BUCKET(heap, 0);
|
||||
for (i = 0; i < ZEND_MM_NUM_BUCKETS; i++) {
|
||||
p->prev_free_block->next_free_block = p;
|
||||
p->next_free_block->prev_free_block = p;
|
||||
q = p;
|
||||
while (q->prev_free_block != orig) {
|
||||
q = q->prev_free_block;
|
||||
}
|
||||
q->prev_free_block = p;
|
||||
q = p;
|
||||
while (q->next_free_block != orig) {
|
||||
q = q->next_free_block;
|
||||
}
|
||||
q->next_free_block = p;
|
||||
p = (zend_mm_free_block*)((char*)p + sizeof(zend_mm_free_block*) * 2);
|
||||
orig = (zend_mm_free_block*)((char*)orig + sizeof(zend_mm_free_block*) * 2);
|
||||
if (mm_heap->large_free_buckets[i]) {
|
||||
mm_heap->large_free_buckets[i]->parent = &mm_heap->large_free_buckets[i];
|
||||
}
|
||||
@@ -1115,7 +1125,10 @@ ZEND_API zend_mm_heap *zend_mm_startup(void)
|
||||
if (tmp) {
|
||||
seg_size = zend_atoi(tmp, 0);
|
||||
if (zend_mm_low_bit(seg_size) != zend_mm_high_bit(seg_size)) {
|
||||
fprintf(stderr, "ZEND_MM_SEG_SIZE must be a power ow two.\n");
|
||||
fprintf(stderr, "ZEND_MM_SEG_SIZE must be a power of two\n");
|
||||
exit(255);
|
||||
} else if (seg_size < ZEND_MM_ALIGNED_SEGMENT_SIZE + ZEND_MM_ALIGNED_HEADER_SIZE) {
|
||||
fprintf(stderr, "ZEND_MM_SEG_SIZE is too small\n");
|
||||
exit(255);
|
||||
}
|
||||
} else {
|
||||
@@ -1791,7 +1804,7 @@ static void *_zend_mm_alloc_int(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_D
|
||||
heap->cache_stat[ZEND_MM_NUM_BUCKETS].miss++;
|
||||
#endif
|
||||
|
||||
best_fit = zend_mm_search_large_block(heap, true_size);
|
||||
best_fit = zend_mm_search_large_block(heap, true_size);
|
||||
|
||||
if (!best_fit && heap->real_size >= heap->limit - heap->block_size) {
|
||||
zend_mm_free_block *p = heap->rest_buckets[0];
|
||||
|
||||
+19
-18
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -78,29 +78,29 @@ ZEND_API size_t _zend_mem_block_size(void *ptr TSRMLS_DC ZEND_FILE_LINE_DC ZEND_
|
||||
|
||||
inline static void * __zend_malloc(size_t len)
|
||||
{
|
||||
void *tmp = malloc(len);
|
||||
if (tmp) {
|
||||
return tmp;
|
||||
}
|
||||
fprintf(stderr, "Out of memory\n");
|
||||
exit(1);
|
||||
void *tmp = malloc(len);
|
||||
if (tmp) {
|
||||
return tmp;
|
||||
}
|
||||
fprintf(stderr, "Out of memory\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
inline static void * __zend_calloc(size_t nmemb, size_t len)
|
||||
{
|
||||
void *tmp = _safe_malloc(nmemb, len, 0);
|
||||
memset(tmp, 0, len);
|
||||
return tmp;
|
||||
void *tmp = _safe_malloc(nmemb, len, 0);
|
||||
memset(tmp, 0, len);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
inline static void * __zend_realloc(void *p, size_t len)
|
||||
{
|
||||
p = realloc(p, len);
|
||||
if (p) {
|
||||
return p;
|
||||
}
|
||||
fprintf(stderr, "Out of memory\n");
|
||||
exit(1);
|
||||
p = realloc(p, len);
|
||||
if (p) {
|
||||
return p;
|
||||
}
|
||||
fprintf(stderr, "Out of memory\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -113,6 +113,7 @@ inline static void * __zend_realloc(void *p, size_t len)
|
||||
#define safe_perealloc(ptr, nmemb, size, offset, persistent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):safe_erealloc((ptr), (nmemb), (size), (offset)))
|
||||
#define perealloc_recoverable(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_recoverable((ptr), (size)))
|
||||
#define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s))
|
||||
#define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length)))
|
||||
|
||||
#define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size))
|
||||
#define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr))
|
||||
@@ -199,12 +200,12 @@ ZEND_API size_t _zend_mm_block_size(zend_mm_heap *heap, void *p ZEND_FILE_LINE_D
|
||||
#define zend_mm_alloc(heap, size) _zend_mm_alloc((heap), (size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
#define zend_mm_free(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
#define zend_mm_realloc(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
#define zend_mm_block_size(heap, p) _zend_mm_block_size((heap), (p), ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
#define zend_mm_block_size(heap, p) _zend_mm_block_size((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
|
||||
#define zend_mm_alloc_rel(heap, size) _zend_mm_alloc((heap), (size) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_CC)
|
||||
#define zend_mm_free_rel(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_CC)
|
||||
#define zend_mm_realloc_rel(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_CC)
|
||||
#define zend_mm_block_size_rel(heap, p) _zend_mm_block_size((heap), (p), ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
#define zend_mm_block_size_rel(heap, p) _zend_mm_block_size((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
|
||||
|
||||
/* Heaps with user defined storage */
|
||||
typedef struct _zend_mm_storage zend_mm_storage;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -454,35 +454,24 @@ ZEND_FUNCTION(error_reporting)
|
||||
Define a new constant */
|
||||
ZEND_FUNCTION(define)
|
||||
{
|
||||
zval **var, **val, **non_cs, *val_free = NULL;
|
||||
int case_sensitive;
|
||||
char *name;
|
||||
int name_len;
|
||||
zval *val;
|
||||
zval *val_free = NULL;
|
||||
zend_bool non_cs = 0;
|
||||
int case_sensitive = CONST_CS;
|
||||
zend_constant c;
|
||||
|
||||
switch (ZEND_NUM_ARGS()) {
|
||||
case 2:
|
||||
if (zend_get_parameters_ex(2, &var, &val)==FAILURE) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
case_sensitive = CONST_CS;
|
||||
break;
|
||||
case 3:
|
||||
if (zend_get_parameters_ex(3, &var, &val, &non_cs)==FAILURE) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
convert_to_long_ex(non_cs);
|
||||
if (Z_LVAL_PP(non_cs)) {
|
||||
case_sensitive = 0;
|
||||
} else {
|
||||
case_sensitive = CONST_CS;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
break;
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|b", &name, &name_len, &val, &non_cs) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(non_cs) {
|
||||
case_sensitive = 0;
|
||||
}
|
||||
|
||||
repeat:
|
||||
switch (Z_TYPE_PP(val)) {
|
||||
switch (Z_TYPE_P(val)) {
|
||||
case IS_LONG:
|
||||
case IS_DOUBLE:
|
||||
case IS_STRING:
|
||||
@@ -492,13 +481,13 @@ repeat:
|
||||
break;
|
||||
case IS_OBJECT:
|
||||
if (!val_free) {
|
||||
if (Z_OBJ_HT_PP(val)->get) {
|
||||
val_free = *val = Z_OBJ_HT_PP(val)->get(*val TSRMLS_CC);
|
||||
if (Z_OBJ_HT_P(val)->get) {
|
||||
val_free = val = Z_OBJ_HT_P(val)->get(val TSRMLS_CC);
|
||||
goto repeat;
|
||||
} else if (Z_OBJ_HT_PP(val)->cast_object) {
|
||||
} else if (Z_OBJ_HT_P(val)->cast_object) {
|
||||
ALLOC_INIT_ZVAL(val_free);
|
||||
if (Z_OBJ_HT_PP(val)->cast_object(*val, val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
|
||||
val = &val_free;
|
||||
if (Z_OBJ_HT_P(val)->cast_object(val, val_free, IS_STRING TSRMLS_CC) == SUCCESS) {
|
||||
val = val_free;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -511,16 +500,15 @@ repeat:
|
||||
}
|
||||
RETURN_FALSE;
|
||||
}
|
||||
convert_to_string_ex(var);
|
||||
|
||||
c.value = **val;
|
||||
c.value = *val;
|
||||
zval_copy_ctor(&c.value);
|
||||
if (val_free) {
|
||||
zval_ptr_dtor(&val_free);
|
||||
}
|
||||
c.flags = case_sensitive; /* non persistent */
|
||||
c.name = zend_strndup(Z_STRVAL_PP(var), Z_STRLEN_PP(var));
|
||||
c.name_len = Z_STRLEN_PP(var)+1;
|
||||
c.name = zend_strndup(name, name_len);
|
||||
c.name_len = name_len+1;
|
||||
c.module_number = PHP_USER_CONSTANT;
|
||||
if (zend_register_constant(&c TSRMLS_CC) == SUCCESS) {
|
||||
RETURN_TRUE;
|
||||
@@ -710,8 +698,6 @@ ZEND_FUNCTION(is_a)
|
||||
/* {{{ add_class_vars */
|
||||
static void add_class_vars(zend_class_entry *ce, HashTable *properties, zval *return_value TSRMLS_DC)
|
||||
{
|
||||
int instanceof = EG(scope) && instanceof_function(EG(scope), ce TSRMLS_CC);
|
||||
|
||||
if (zend_hash_num_elements(properties) > 0) {
|
||||
HashPosition pos;
|
||||
zval **prop;
|
||||
@@ -720,20 +706,28 @@ static void add_class_vars(zend_class_entry *ce, HashTable *properties, zval *re
|
||||
while (zend_hash_get_current_data_ex(properties, (void **) &prop, &pos) == SUCCESS) {
|
||||
char *key, *class_name, *prop_name;
|
||||
uint key_len;
|
||||
ulong num_index;
|
||||
ulong num_index, h;
|
||||
int prop_name_len = 0;
|
||||
zval *prop_copy;
|
||||
zend_property_info *property_info;
|
||||
|
||||
zend_hash_get_current_key_ex(properties, &key, &key_len, &num_index, 0, &pos);
|
||||
zend_hash_move_forward_ex(properties, &pos);
|
||||
|
||||
zend_unmangle_property_name(key, key_len-1, &class_name, &prop_name);
|
||||
if (class_name) {
|
||||
if (class_name[0] != '*' && strcmp(class_name, ce->name)) {
|
||||
/* filter privates from base classes */
|
||||
continue;
|
||||
} else if (!instanceof) {
|
||||
/* filter protected if not inside class */
|
||||
continue;
|
||||
}
|
||||
prop_name_len = strlen(prop_name);
|
||||
|
||||
h = zend_get_hash_value(prop_name, prop_name_len+1);
|
||||
if (zend_hash_quick_find(&ce->properties_info, prop_name, prop_name_len+1, h, (void **) &property_info) == FAILURE) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (property_info->flags & ZEND_ACC_SHADOW) {
|
||||
continue;
|
||||
} else if ((property_info->flags & ZEND_ACC_PRIVATE) && EG(scope) != ce) {
|
||||
continue;
|
||||
} else if ((property_info->flags & ZEND_ACC_PROTECTED) && zend_check_protected(ce, EG(scope)) == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* copy: enforce read only access */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+29
-12
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -565,6 +565,7 @@ void zend_do_assign(znode *result, znode *variable, znode *value TSRMLS_DC)
|
||||
CG(active_op_array)->vars[value->u.var].name,
|
||||
CG(active_op_array)->vars[value->u.var].name_len, 1);
|
||||
SET_UNUSED(opline->op2);
|
||||
opline->op2.u.EA.type = ZEND_FETCH_LOCAL;
|
||||
value = &opline->result;
|
||||
}
|
||||
}
|
||||
@@ -655,6 +656,8 @@ void zend_do_assign_ref(znode *result, znode *lvar, znode *rvar TSRMLS_DC)
|
||||
opline->opcode = ZEND_ASSIGN_REF;
|
||||
if (zend_is_function_or_method_call(rvar)) {
|
||||
opline->extended_value = ZEND_RETURNS_FUNCTION;
|
||||
} else if (rvar->u.EA.type & ZEND_PARSED_NEW) {
|
||||
opline->extended_value = ZEND_RETURNS_NEW;
|
||||
} else {
|
||||
opline->extended_value = 0;
|
||||
}
|
||||
@@ -1587,20 +1590,34 @@ void zend_do_pass_param(znode *param, zend_uchar op, int offset TSRMLS_DC)
|
||||
zend_stack_top(&CG(function_call_stack), (void **) &function_ptr_ptr);
|
||||
function_ptr = *function_ptr_ptr;
|
||||
|
||||
if (original_op==ZEND_SEND_REF
|
||||
&& !CG(allow_call_time_pass_reference)) {
|
||||
zend_error(E_COMPILE_WARNING,
|
||||
"Call-time pass-by-reference has been deprecated; "
|
||||
"If you would like to pass it by reference, modify the declaration of %s(). "
|
||||
"If you would like to enable call-time pass-by-reference, you can set "
|
||||
"allow_call_time_pass_reference to true in your INI file",
|
||||
(function_ptr ? function_ptr->common.function_name : "[runtime function name]"));
|
||||
if (original_op == ZEND_SEND_REF && !CG(allow_call_time_pass_reference)) {
|
||||
if (function_ptr &&
|
||||
function_ptr->common.function_name &&
|
||||
function_ptr->common.type == ZEND_USER_FUNCTION &&
|
||||
!ARG_SHOULD_BE_SENT_BY_REF(function_ptr, (zend_uint) offset)) {
|
||||
zend_error(E_COMPILE_WARNING,
|
||||
"Call-time pass-by-reference has been deprecated; "
|
||||
"If you would like to pass it by reference, modify the declaration of %s(). "
|
||||
"If you would like to enable call-time pass-by-reference, you can set "
|
||||
"allow_call_time_pass_reference to true in your INI file", function_ptr->common.function_name);
|
||||
} else {
|
||||
zend_error(E_COMPILE_WARNING, "Call-time pass-by-reference has been deprecated");
|
||||
}
|
||||
}
|
||||
|
||||
if (function_ptr) {
|
||||
if (ARG_MAY_BE_SENT_BY_REF(function_ptr, (zend_uint) offset)) {
|
||||
op = (param->op_type & (IS_VAR|IS_CV))?ZEND_SEND_REF:ZEND_SEND_VAL;
|
||||
send_by_reference = 0;
|
||||
if (param->op_type & (IS_VAR|IS_CV)) {
|
||||
send_by_reference = 1;
|
||||
if (op == ZEND_SEND_VAR && zend_is_function_or_method_call(param)) {
|
||||
/* Method call */
|
||||
op = ZEND_SEND_VAR_NO_REF;
|
||||
send_function = ZEND_ARG_SEND_FUNCTION | ZEND_ARG_SEND_SILENT;
|
||||
}
|
||||
} else {
|
||||
op = ZEND_SEND_VAL;
|
||||
send_by_reference = 0;
|
||||
}
|
||||
} else {
|
||||
send_by_reference = ARG_SHOULD_BE_SENT_BY_REF(function_ptr, (zend_uint) offset) ? ZEND_ARG_SEND_BY_REF : 0;
|
||||
}
|
||||
@@ -2522,7 +2539,7 @@ void zend_do_early_binding(TSRMLS_D)
|
||||
/* clear unnecessary ZEND_FETCH_CLASS opcode */
|
||||
if (opline > CG(active_op_array)->opcodes &&
|
||||
(opline-1)->opcode == ZEND_FETCH_CLASS) {
|
||||
zend_op *fetch_class_opline = opline-1;
|
||||
zend_op *fetch_class_opline = opline-1;
|
||||
|
||||
zval_dtor(&fetch_class_opline->op2.u.constant);
|
||||
fetch_class_opline->opcode = ZEND_NOP;
|
||||
|
||||
+4
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -600,6 +600,7 @@ int zendlex(znode *zendlval TSRMLS_DC);
|
||||
#define ZEND_PARSED_FUNCTION_CALL (1<<3)
|
||||
#define ZEND_PARSED_VARIABLE (1<<4)
|
||||
#define ZEND_PARSED_REFERENCE_VARIABLE (1<<5)
|
||||
#define ZEND_PARSED_NEW (1<<6)
|
||||
|
||||
|
||||
/* unset types */
|
||||
@@ -658,6 +659,7 @@ int zendlex(znode *zendlval TSRMLS_DC);
|
||||
#define ZEND_ARG_SEND_BY_REF (1<<0)
|
||||
#define ZEND_ARG_COMPILE_TIME_BOUND (1<<1)
|
||||
#define ZEND_ARG_SEND_FUNCTION (1<<2)
|
||||
#define ZEND_ARG_SEND_SILENT (1<<3)
|
||||
|
||||
#define ZEND_SEND_BY_VAL 0
|
||||
#define ZEND_SEND_BY_REF 1
|
||||
@@ -685,6 +687,7 @@ int zendlex(znode *zendlval TSRMLS_DC);
|
||||
|
||||
|
||||
#define ZEND_RETURNS_FUNCTION 1<<0
|
||||
#define ZEND_RETURNS_NEW 1<<1
|
||||
|
||||
END_EXTERN_C()
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+3
-2
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -979,7 +979,7 @@ fetch_string_dim:
|
||||
long index;
|
||||
|
||||
if (Z_TYPE_P(dim) == IS_DOUBLE) {
|
||||
index = (long)Z_DVAL_P(dim);
|
||||
DVAL_TO_LVAL(Z_DVAL_P(dim), index);
|
||||
} else {
|
||||
index = Z_LVAL_P(dim);
|
||||
}
|
||||
@@ -1402,6 +1402,7 @@ ZEND_API void execute_internal(zend_execute_data *execute_data_ptr, int return_v
|
||||
} \
|
||||
EG(in_execution) = EX(original_in_execution); \
|
||||
EG(current_execute_data) = EX(prev_execute_data); \
|
||||
EG(opline_ptr) = NULL; \
|
||||
ZEND_VM_RETURN()
|
||||
|
||||
#include "zend_vm_execute.h"
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+24
-2
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
@@ -824,7 +824,9 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
|
||||
}
|
||||
EX(function_state).function =
|
||||
Z_OBJ_HT_PP(fci->object_pp)->get_method(fci->object_pp, fname, fname_len TSRMLS_CC);
|
||||
if (EX(function_state).function && calling_scope != EX(function_state).function->common.scope) {
|
||||
if (EX(function_state).function &&
|
||||
(EX(function_state).function->common.fn_flags & ZEND_ACC_PRIVATE) == 0 &&
|
||||
calling_scope != EX(function_state).function->common.scope) {
|
||||
char *function_name_lc = zend_str_tolower_dup(fname, fname_len);
|
||||
if (zend_hash_find(&calling_scope->function_table, function_name_lc, fname_len+1, (void **) &EX(function_state).function)==FAILURE) {
|
||||
efree(function_name_lc);
|
||||
@@ -899,6 +901,26 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
|
||||
}
|
||||
}
|
||||
|
||||
/* Prevent crash because of stack reallocation */
|
||||
if (!call_via_handler &&
|
||||
fci->param_count &&
|
||||
EG(argument_stack).top + fci->param_count > EG(argument_stack).max &&
|
||||
*(void***)fci->params >= EG(argument_stack).elements &&
|
||||
*(void***)fci->params < EG(argument_stack).top_element) {
|
||||
|
||||
/* Manual stack reallocation */
|
||||
void **prev_elements = EG(argument_stack).elements;
|
||||
void **prev_top_element = EG(argument_stack).top_element;
|
||||
|
||||
ZEND_PTR_STACK_RESIZE_IF_NEEDED((&EG(argument_stack)), fci->param_count);
|
||||
for (i=0; i<fci->param_count; i++) {
|
||||
if ((void**)fci->params[i] >= prev_elements &&
|
||||
(void**)fci->params[i] < prev_top_element) {
|
||||
fci->params[i] = (zval**)((void**)fci->params[i] - prev_elements + EG(argument_stack).elements);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (i=0; i<fci->param_count; i++) {
|
||||
zval *param;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
| Zend Engine |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 2.00 of the Zend license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
|
||||
@@ -553,7 +553,7 @@ expr_without_variable:
|
||||
T_LIST '(' { zend_do_list_init(TSRMLS_C); } assignment_list ')' '=' expr { zend_do_list_end(&$$, &$7 TSRMLS_CC); }
|
||||
| variable '=' expr { zend_check_writable_variable(&$1); zend_do_assign(&$$, &$1, &$3 TSRMLS_CC); }
|
||||
| variable '=' '&' variable { zend_check_writable_variable(&$1); zend_do_end_variable_parse(BP_VAR_W, 0 TSRMLS_CC); zend_do_end_variable_parse(BP_VAR_W, 0 TSRMLS_CC); zend_do_assign_ref(&$$, &$1, &$4 TSRMLS_CC); }
|
||||
| variable '=' '&' T_NEW class_name_reference { zend_error(E_STRICT, "Assigning the return value of new by reference is deprecated"); zend_check_writable_variable(&$1); zend_do_extended_fcall_begin(TSRMLS_C); zend_do_begin_new_object(&$4, &$5 TSRMLS_CC); } ctor_arguments { zend_do_end_new_object(&$3, &$4, &$7 TSRMLS_CC); zend_do_extended_fcall_end(TSRMLS_C); zend_do_end_variable_parse(BP_VAR_W, 0 TSRMLS_CC); zend_do_assign_ref(&$$, &$1, &$3 TSRMLS_CC); }
|
||||
| variable '=' '&' T_NEW class_name_reference { zend_error(E_STRICT, "Assigning the return value of new by reference is deprecated"); zend_check_writable_variable(&$1); zend_do_extended_fcall_begin(TSRMLS_C); zend_do_begin_new_object(&$4, &$5 TSRMLS_CC); } ctor_arguments { zend_do_end_new_object(&$3, &$4, &$7 TSRMLS_CC); zend_do_extended_fcall_end(TSRMLS_C); zend_do_end_variable_parse(BP_VAR_W, 0 TSRMLS_CC); $3.u.EA.type = ZEND_PARSED_NEW; zend_do_assign_ref(&$$, &$1, &$3 TSRMLS_CC); }
|
||||
| T_NEW class_name_reference { zend_do_extended_fcall_begin(TSRMLS_C); zend_do_begin_new_object(&$1, &$2 TSRMLS_CC); } ctor_arguments { zend_do_end_new_object(&$$, &$1, &$4 TSRMLS_CC); zend_do_extended_fcall_end(TSRMLS_C);}
|
||||
| T_CLONE expr { zend_do_clone(&$$, &$2 TSRMLS_CC); }
|
||||
| variable T_PLUS_EQUAL expr { zend_check_writable_variable(&$1); zend_do_end_variable_parse(BP_VAR_RW, 0 TSRMLS_CC); zend_do_binary_assign_op(ZEND_ASSIGN_ADD, &$$, &$1, &$3 TSRMLS_CC); }
|
||||
|
||||
Loaded 100 of 3281 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user