summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_023.phpt
blob: 5c8a8491ef8d5a6f587fe01fb3a933c419229a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Creating instances dynamically
--FILE--
<?php

$arr = array(new stdClass, 'stdClass');

new $arr[0]();
new $arr[1]();

print "ok\n";

?>
--EXPECT--
ok