3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = array('holger@hütig.de'); $json = json_encode($d); $json2 = '["holger@h\u00fctig.de"]'; var_dump($d,$json,json_decode($json), json_decode($json2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N2gib
function name:  (null)
number of ops:  19
compiled vars:  !0 = $d, !1 = $json, !2 = $json2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        ASSIGN                                                   !2, '%5B%22holger%40h%5Cu00fctig.de%22%5D'
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        INIT_FCALL                                               'json_decode'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        INIT_FCALL                                               'json_decode'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $8      
         16        SEND_VAR                                                 $8
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.51 ms | 1394 KiB | 19 Q