File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / 033.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:52 2012 UTC (13 years, 2 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

--TEST--
Using undefined multidimensional array
--FILE--
<?php 

$arr[1][2][3][4][5];

echo $arr[1][2][3][4][5];

$arr[1][2][3][4][5]->foo;

$arr[1][2][3][4][5]->foo = 1;

$arr[][] = 2;

$arr[][]->bar = 2;

?>
--EXPECTF--

Notice: Undefined variable: arr in %s on line %d

Notice: Undefined variable: arr in %s on line %d

Notice: Undefined variable: arr in %s on line %d

Notice: Trying to get property of non-object in %s on line %d

Strict Standards: Creating default object from empty value in %s on line %d

Strict Standards: Creating default object from empty value in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>