3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('phar.readonly',1); $dir = sys_get_temp_dir(); $test = new PharData($dir.'/test.phar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wh1dT
function name:  (null)
number of ops:  13
compiled vars:  !0 = $dir, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'phar.readonly'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'sys_get_temp_dir'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    5     7        NEW                                              $5      'PharData'
          8        CONCAT                                           ~6      !0, '%2Ftest.phar'
          9        SEND_VAL_EX                                              ~6
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.6 ms | 1394 KiB | 17 Q