3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Somewhere; var_dump(json_encode(['foo' => '<p>bar</p>'], JSON_HEX_TAG));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2l2nd
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_NS_FCALL_BY_NAME                                    'Somewhere%5Cvar_dump'
          1        INIT_NS_FCALL_BY_NAME                                    'Somewhere%5Cjson_encode'
          2        SEND_VAL_EX                                              <array>
          3        FETCH_CONSTANT                                   ~0      'Somewhere%5CJSON_HEX_TAG'
          4        SEND_VAL_EX                                              ~0
          5        DO_FCALL                                      0  $1      
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
212.93 ms | 1394 KiB | 17 Q