3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!defined('JSON_PRETTY_PRINT')) { define('JSON_PRETTY_PRINT', 128); } $data = array('this' => 'that'); $json = json_encode($data, JSON_PRETTY_PRINT);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 5
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/vGo1T
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data, !1 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <false>, ->5
    4     1    >   INIT_FCALL                                               'define'
          2        SEND_VAL                                                 'JSON_PRETTY_PRINT'
          3        SEND_VAL                                                 128
          4        DO_ICALL                                                 
    7     5    >   ASSIGN                                                   !0, <array>
    9     6        INIT_FCALL                                               'json_encode'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 128
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.36 ms | 1385 KiB | 17 Q