- var_dump: documentation ( source)
- json_encode: documentation ( source)
- sprintf: documentation ( source)
<?php
$handle = 0;
$c = 8;
$i= sprintf('%0'.($c).'d',0);
echo $i;
if ('' !== ($p=@$i[7])) {
echo '/'.$p;
} else {
echo 'whoops';
}
var_dump(json_encode(null));