3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(round(3.2550, 2), strlen(substr(strrchr(3.2550, "."), 1));, ',', '.'); echo PHP_EOL; echo number_format(round(3.4000, 2), strlen(substr(strrchr(3.4000, "."), 1));, ',', '.');
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected ';' in /in/SGD8S on line 2
Process exited with code 255.

preferences:
190.74 ms | 1395 KiB | 67 Q