3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.49 ms | 1393 KiB | 15 Q