You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
256 B
16 lines
256 B
--TEST--
|
|
Test empty dimensions
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("pimple")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
$p = new Pimple\Container();
|
|
$p[] = 42;
|
|
var_dump($p[0]);
|
|
$p[41] = 'foo';
|
|
$p[] = 'bar';
|
|
var_dump($p[42]);
|
|
?>
|
|
--EXPECT--
|
|
int(42)
|
|
string(3) "bar"
|