3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class milad{ public $aval=1; protected $dovom=2; private $sevpm=3; public $test=44; public function test(){ return time(); } } $milad=new milad; echo count($milad);
based on POLZt
Output for 7.2.0 - 7.3.1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/se9ih on line 14 1
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.25
1