3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pont { } $pont = new Pont; echo $pond ->format(d/y/m);
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Warning: Undefined variable $pond in /in/9MvAP on line 8 Fatal error: Uncaught Error: Call to a member function format() on null in /in/9MvAP:8 Stack trace: #0 {main} thrown in /in/9MvAP on line 8
Process exited with code 255.

preferences:
45.09 ms | 402 KiB | 62 Q