3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f(){return (($cache[$url] = array( 'age' => time(),'html' => $hc->exec($url)->getStdOut()))['html']);}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s4LHv
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s4LHv
function name:  f
number of ops:  14
compiled vars:  !0 = $cache, !1 = $url, !2 = $hc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $4      
          2        INIT_ARRAY                                       ~5      $4, 'age'
          3        INIT_METHOD_CALL                                         !2, 'exec'
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0  $6      
          6        INIT_METHOD_CALL                                         $6, 'getStdOut'
          7        DO_FCALL                                      0  $7      
          8        ADD_ARRAY_ELEMENT                                ~5      $7, 'html'
          9        ASSIGN_DIM                                       ~3      !0, !1
         10        OP_DATA                                                  ~5
         11        FETCH_DIM_R                                      ~8      ~3, 'html'
         12      > RETURN                                                   ~8
         13*     > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.36 ms | 1394 KiB | 15 Q