3v4l.org

run code in 300+ PHP versions simultaneously
<?php function my_funct ($filename) { $f = file_get_contents ($filename); return explode ("\n", $f); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nAuXT
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   1

Function my_funct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nAuXT
function name:  my_funct
number of ops:  11
compiled vars:  !0 = $filename, !1 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
    5     5        INIT_FCALL                                               'explode'
          6        SEND_VAL                                                 '%0A'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $4      
          9      > RETURN                                                   $4
    6    10*     > RETURN                                                   null

End of function my_funct

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.77 ms | 1385 KiB | 17 Q