3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo( json_encode( $jsonArr = array('files' => $filesInJson ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uYDZk
function name:  (null)
number of ops:  7
compiled vars:  !0 = $jsonArr, !1 = $filesInJson
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_ARRAY                                       ~2      !1, 'files'
          2        ASSIGN                                           ~3      !0, ~2
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                         $4      
          5        ECHO                                                     $4
    5     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.64 ms | 1398 KiB | 15 Q