Arquivos
hhvm/hphp/test/slow/ext_file/parse_hdf_string.php
T
Jordan DeLong 4795dcdc09 Migrate TestExtFile to php
I dropped a couple tests that did nothing
(e.g. clearstatcache) or almost nothing, or that 'tested' things that
almost all the tests do (e.g. unlink or fclose).  Dropped a few unixy
apis that really didn't test that they do anything.  Combined a few
tests also.
2013-06-18 16:23:23 -07:00

13 linhas
187 B
PHP

<?php
$hdf = "bool = false\n".
"string = text\n".
"num = 12345\n".
"arr {\n".
" bool = false\n".
" string = anothertext\n".
" num = 6789\n".
"}\n";
var_dump(parse_hdf_string($hdf));