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(){ return time(); } } $milad=new milad; echo count($milad);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/se9ih
function name:  (null)
number of ops:  6
compiled vars:  !0 = $milad
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'milad'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        COUNT                                            ~4      !0
          4        ECHO                                                     ~4
          5      > RETURN                                                   1

Class milad:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/se9ih
function name:  test
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $0      
          2      > RETURN                                                   $0
   10     3*     > RETURN                                                   null

End of function test

End of class milad.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.86 ms | 1394 KiB | 15 Q