3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jpr = json_encode('[{"character"=> "Cyclops", "realName"=> "Scott Summers"},{"character"=> "Professor X", "realName"=> "Charles Francis Xavier"}]'); echo $jpr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iVkq8
function name:  (null)
number of ops:  6
compiled vars:  !0 = $jpr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
          1        SEND_VAL                                                 '%5B%7B%22character%22%3D%3E+%22Cyclops%22%2C+%22realName%22%3D%3E+%22Scott+Summers%22%7D%2C%7B%22character%22%3D%3E+%22Professor+X%22%2C+%22realName%22%3D%3E+%22Charles+Francis+Xavier%22%7D%5D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        ECHO                                                     !0
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.74 ms | 1398 KiB | 15 Q