3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function __destruct() { echo 'Sınıf yok edildi.'; function deneme() { echo 'Selamlar'; } } $deneme=new deneme();
Output for 7.0.0 - 7.3.0alpha1
Fatal error: Uncaught Error: Class 'deneme' not found in /in/cdpqm:21 Stack trace: #0 {main} thrown in /in/cdpqm on line 21
Process exited with code 255.
Output for 5.6.0 - 5.6.27
Fatal error: Class 'deneme' not found in /in/cdpqm on line 21
Process exited with code 255.