3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = array('holger@hütig.de'); $json = json_encode($d); $serialized = serialize($json); $b64 = base64_encode($serialized); $escaped = escapeshellarg($b64); var_dump( $d, $json, json_decode($json), $serialized, $b64, $escaped, base64_decode($b64), unserialize(base64_decode($b64)), json_decode(unserialize(base64_decode($b64))) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r0A91
function name:  (null)
number of ops:  50
compiled vars:  !0 = $d, !1 = $json, !2 = $serialized, !3 = $b64, !4 = $escaped
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                                         $6      
          4        ASSIGN                                                   !1, $6
    5     5        INIT_FCALL                                               'serialize'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !2, $8
    6     9        INIT_FCALL                                               'base64_encode'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !3, $10
    7    13        INIT_FCALL                                               'escapeshellarg'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                         $12     
         16        ASSIGN                                                   !4, $12
    9    17        INIT_FCALL                                               'var_dump'
   10    18        SEND_VAR                                                 !0
   11    19        SEND_VAR                                                 !1
   12    20        INIT_FCALL                                               'json_decode'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $14     
         23        SEND_VAR                                                 $14
   13    24        SEND_VAR                                                 !2
   14    25        SEND_VAR                                                 !3
   15    26        SEND_VAR                                                 !4
   16    27        INIT_FCALL                                               'base64_decode'
         28        SEND_VAR                                                 !3
         29        DO_ICALL                                         $15     
         30        SEND_VAR                                                 $15
   17    31        INIT_FCALL                                               'unserialize'
         32        INIT_FCALL                                               'base64_decode'
         33        SEND_VAR                                                 !3
         34        DO_ICALL                                         $16     
         35        SEND_VAR                                                 $16
         36        DO_ICALL                                         $17     
         37        SEND_VAR                                                 $17
   18    38        INIT_FCALL                                               'json_decode'
         39        INIT_FCALL                                               'unserialize'
         40        INIT_FCALL                                               'base64_decode'
         41        SEND_VAR                                                 !3
         42        DO_ICALL                                         $18     
         43        SEND_VAR                                                 $18
         44        DO_ICALL                                         $19     
         45        SEND_VAR                                                 $19
         46        DO_ICALL                                         $20     
         47        SEND_VAR                                                 $20
         48        DO_ICALL                                                 
   19    49      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.55 ms | 1400 KiB | 29 Q