3v4l.org

run code in 300+ PHP versions simultaneously
<?php class milad{ public $aval=1; protected $dovom=2; private $sevpm=3; public $test=44; public function test(){ returm time(); } } $milad=new milad; echo count($milad);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected 'time' (T_STRING) in /in/POLZt on line 9
Process exited with code 255.

preferences:
192.44 ms | 1395 KiB | 36 Q