3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode((object) ['repository' => 'admin.jobs.ac.uk', 'branch' => 'feature/ABC-123-feature-deploy-makefile', 'commit' => $argv[1], 'author' => 'Adam Brett', 'email' => 'adam@jobs.ac.uk']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eGVcI
function name:  (null)
number of ops:  12
compiled vars:  !0 = $argv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_ARRAY                                       ~1      'admin.jobs.ac.uk', 'repository'
    3     2        ADD_ARRAY_ELEMENT                                ~1      'feature%2FABC-123-feature-deploy-makefile', 'branch'
    4     3        FETCH_DIM_R                                      ~2      !0, 1
          4        ADD_ARRAY_ELEMENT                                ~1      ~2, 'commit'
    5     5        ADD_ARRAY_ELEMENT                                ~1      'Adam+Brett', 'author'
    6     6        ADD_ARRAY_ELEMENT                                ~1      'adam%40jobs.ac.uk', 'email'
          7        CAST                                          8  ~3      ~1
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.45 ms | 1394 KiB | 15 Q