3v4l.org

run code in 300+ PHP versions simultaneously
<?php function name() { $data = file_get_contents('http://graph.facebook.com/nike'); return json_parse($data)->likes; } echo name();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TKde3
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'name'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
          3      > RETURN                                                   1

Function name:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TKde3
function name:  name
number of ops:  10
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fgraph.facebook.com%2Fnike'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    6     4        INIT_FCALL_BY_NAME                                       'json_parse'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0  $3      
          7        FETCH_OBJ_R                                      ~4      $3, 'likes'
          8      > RETURN                                                   ~4
    7     9*     > RETURN                                                   null

End of function name

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.39 ms | 1386 KiB | 17 Q