Arquivos
hhvm/hphp/test/quick/non-instance.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

9 linhas
239 B
PHP

<?php
$a = array(50);
// This function is the easiest way to get hold of an ObjectData that isn't an
// Instance; this exercises getting and setting properties on these.
$it = hphp_get_iterator($a);
$it->blah = 2000;
var_dump($it->blah);