File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ PHP NEWS
48
48
- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
49
49
already exists). (Pierre)
50
50
51
+ - Fixed bug #41919 (crash in string to array conversion). (judas dot
52
+ iscariote at gmail dot com, Ilia)
51
53
- Fixed bug #41908 (CFLAGS="-Os" ./configure --enable-debug fails).
52
54
(christian at hoffie dot info, Tony)
53
55
- Fixed bug #41909 (var_export() is locale sensitive when exporting float
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Bug #41919 (crash in string to array conversion)
3
+ --FILE--
4
+ <?php
5
+ $ foo ="50 " ;
6
+ $ foo [3 ]->bar [1 ] = "bang " ;
7
+
8
+ echo "ok \n" ;
9
+ ?>
10
+ --EXPECTF--
11
+ Warning: Cannot use string offset as an array in %s/bug41919.php on line %d
12
+ ok
You can’t perform that action at this time.
0 commit comments