<?php
$block = '25*';
$pos = strpos($block, '*');
if ($pos !== false) {
$num = substr($block, 0, $pos);
}
$fullnum = str_pad($block,'0',3);
echo $fullnum
- Output for 5.4.0 - 5.4.11
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/a78dd on line 9
Process exited with code 255. - Output for 5.3.0 - 5.3.21
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/a78dd on line 9
Process exited with code 255.
preferences:
172.26 ms | 1395 KiB | 41 Q