3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test ($str) { echo $str; } $a = 'st'; te.$a('hello');
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant te - assumed 'te' (this will throw an Error in a future version of PHP) in /in/4a1Jq on line 6 Fatal error: Uncaught Error: Call to undefined function st() in /in/4a1Jq:6 Stack trace: #0 {main} thrown in /in/4a1Jq on line 6
Process exited with code 255.
Output for 7.0.0 - 7.1.20
Notice: Use of undefined constant te - assumed 'te' in /in/4a1Jq on line 6 Fatal error: Uncaught Error: Call to undefined function st() in /in/4a1Jq:6 Stack trace: #0 {main} thrown in /in/4a1Jq on line 6
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Notice: Use of undefined constant te - assumed 'te' in /in/4a1Jq on line 6 Fatal error: Call to undefined function st() in /in/4a1Jq on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Use of undefined constant te - assumed 'te' in /in/4a1Jq on line 6 Fatal error: Call to undefined function: st() in /in/4a1Jq on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Use of undefined constant te - assumed 'te' in /in/4a1Jq on line 6 Fatal error: Call to undefined function: st() in /in/4a1Jq on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant te - assumed 'te' in /in/4a1Jq on line 6 Fatal error: Call to undefined function: st() in /in/4a1Jq on line 6