3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function __construct() { print_r( $this->defaults() ); } private function defaults(){ return array( 'allowFileManager' => true, 'allowMediaUpload' => true, 'allowFlashUpload' => true, 'allowImageUpload' => true, 'shadowMode' => false, 'width' => '100%', 'height' => '350px', 'uploadJson' => 'test', ); } } new test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4iPth
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $0      'test'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Class test:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4iPth
function name:  __construct
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_METHOD_CALL                                         'defaults'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
    6     5      > RETURN                                                   null

End of function __construct

Function defaults:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4iPth
function name:  defaults
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   <array>
   18     1*     > RETURN                                                   null

End of function defaults

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
293.71 ms | 1010 KiB | 14 Q