From: Antony Dovgal Date: Wed, 27 Jun 2007 08:55:27 +0000 (+0000) Subject: add test X-Git-Tag: php-5.2.4RC1~282 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=feb142cb7982f6d4205e7a6806ae9a4102f4003c;p=php add test --- diff --git a/Zend/tests/bug41813.phpt b/Zend/tests/bug41813.phpt new file mode 100644 index 0000000000..c330b14fe8 --- /dev/null +++ b/Zend/tests/bug41813.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #41813 (segmentation fault when using string offset as an object) +--FILE-- +bar = "xyz"; + +echo "Done\n"; +?> +--EXPECTF-- +Fatal error: Cannot use string offset as an array in %s on line %d