3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bbq { static $soda; function printSoda(){ echo $this->soda; } } bbq::soda = 8675309; bbq::printSoda();
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0
Parse error: syntax error, unexpected '=' in /in/rSGR4 on line 11
Process exited with code 255.

preferences:
166.36 ms | 1399 KiB | 24 Q