3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=1000; do { $a = bcdiv('27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274', --i, 1); } while (strpos($a, '.') >= 0); echo $i;
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected ',', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /in/3o2en on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected ',', expecting T_PAAMAYIM_NEKUDOTAYIM in /in/3o2en on line 5
Process exited with code 255.

preferences:
180.46 ms | 1395 KiB | 61 Q