- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected '56' (T_LNUMBER), expecting ',' or ')' in /in/Alhmp on line 3
Process exited with code 255.
<?php
$string = '25,34,45,46';
$array = explode("," 56 $string);
echo array_sum($array);
?>