<?
$prefix2op = array('53' => 1, '54' => 2, '55' => 3, '50' => 3);
function getDefaultOp($number) {
$globals
$op3 = (int) substr($number, 0, 3);
if (!($op3 >= 505 && $op3 <= 507))
return 0;
$s = substr($number, 0, 2);
return $prefix2op[$s];
}
$a = array();
for($i = 0; $i < 10000; $i++){
$a[] = getDefaultOp(5073456108 + $i);
}
?>
- Output for 5.3.0 - 5.3.29, 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.3 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
- <?
$prefix2op = array('53' => 1, '54' => 2, '55' => 3, '50' => 3);
function getDefaultOp($number) {
$globals
$op3 = (int) substr($number, 0, 3);
if (!($op3 >= 505 && $op3 <= 507))
return 0;
$s = substr($number, 0, 2);
return $prefix2op[$s];
}
$a = array();
for($i = 0; $i < 10000; $i++){
$a[] = getDefaultOp(5073456108 + $i);
}
?>
- Output for 8.0.13
- Parse error: syntax error, unexpected variable "$op3" in /in/KVSNs on line 5
Process exited with code 255. - Output for 5.4.0 - 5.4.28, 5.5.0 - 5.5.12, 7.3.32 - 7.3.33, 7.4.33
- Parse error: syntax error, unexpected '$op3' (T_VARIABLE) in /in/KVSNs on line 5
Process exited with code 255.
preferences:
131.02 ms | 402 KiB | 213 Q