3v4l.org

run code in 300+ PHP versions simultaneously
<?php $👋 = 'Hello'; $🌎 = 'World'; function 💬($👋, $👋) { echo $👋.' '.$👋; }; 💬($👋, $👋);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Fatal error: Redefinition of parameter $👋 in /in/90enW on line 6
Process exited with code 255.

preferences:
167.03 ms | 1387 KiB | 35 Q