diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-07-09 08:56:29 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-07-09 08:56:29 +0000 |
commit | 2d393762198fabd572488ab2242cbead604fb1b0 (patch) | |
tree | 53e8287563bcb51285cc62ff3a190f432548dd70 /Zend/tests/bug41919.phpt | |
parent | 03b000dc3962c8f4183c79708ec57fe1fc181942 (diff) | |
download | php-git-2d393762198fabd572488ab2242cbead604fb1b0.tar.gz |
Fixed bug #41919
Diffstat (limited to 'Zend/tests/bug41919.phpt')
-rw-r--r-- | Zend/tests/bug41919.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/bug41919.phpt b/Zend/tests/bug41919.phpt new file mode 100644 index 0000000000..3ba9ae0ec4 --- /dev/null +++ b/Zend/tests/bug41919.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #41919 (crash in string to array conversion) +--FILE-- +<?php +$foo="50"; +$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 |