3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL & ~E_STRICT); 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/I5D3Q
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 30719
          2        DO_ICALL                                                 
   15     3      > RETURN                                                   1

Class Twitter:
Function twitter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I5D3Q
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/I5D3Q
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:
172.1 ms | 1395 KiB | 15 Q