Arquivos
hhvm/hphp/test/quick/static_closure_params.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

13 linhas
131 B
PHP

<?php
function a() {
$b = function ($c) {
static $d = 0;
var_dump($c + $d++);
};
$b(10);
$b(20);
$b(30);
}
a();