PHP Classes

File: vendor/pimple/pimple/ext/pimple/tests/003.phpt

Recommend this page to a friend!
  Classes of Gavin Gordon Markowski   Helphp PHP Class Generator   vendor/pimple/pimple/ext/pimple/tests/003.phpt   Download  
File: vendor/pimple/pimple/ext/pimple/tests/003.phpt
Role: Example script
Content type: text/plain
Description: Example script
Class: Helphp PHP Class Generator
Generate classes from configuration parameters
Author: By
Last change:
Date: 2 years ago
Size: 256 bytes
 

Contents

Class file image Download
--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"