3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Twitter { function Twitter() { // Adding an old-style constructor allows use on older installs of EE2. Twitter::__construct(); } function __construct() { $this->foo = 'bar'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YdFXe
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E > > RETURN                                                   1

Class Twitter:
Function twitter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YdFXe
function name:  Twitter
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_STATIC_METHOD_CALL                                  'Twitter'
          1        DO_FCALL                                      0          
    9     2      > RETURN                                                   null

End of function twitter

Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YdFXe
function name:  __construct
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   ASSIGN_OBJ                                               'foo'
          1        OP_DATA                                                  'bar'
   14     2      > RETURN                                                   null

End of function __construct

End of class Twitter.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.24 ms | 1397 KiB | 13 Q