3v4l.org

run code in 300+ PHP versions simultaneously
<?php class xqwwq{ private $qqqq = true; public function __construct() { $this->params = new SplFileObject('/etc/passwd'); } } print serialize(new xqwwq());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5poaW
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'serialize'
          1        NEW                                              $0      'xqwwq'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6      > RETURN                                                   1

Class xqwwq:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5poaW
function name:  __construct
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $1      'SplFileObject'
          1        SEND_VAL_EX                                              '%2Fetc%2Fpasswd'
          2        DO_FCALL                                      0          
          3        ASSIGN_OBJ                                               'params'
          4        OP_DATA                                                  $1
    9     5      > RETURN                                                   null

End of function __construct

End of class xqwwq.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.88 ms | 1394 KiB | 15 Q