3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = substr(urldecode('"hello%20how%20are%20you%20bn"'),1,-1); $lang = substr($to,-2); $txt = substr($to,0,count($to)-4); echo($txt); echo("!!!"); echo($lang); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZhN7i
function name:  (null)
number of ops:  26
compiled vars:  !0 = $to, !1 = $lang, !2 = $txt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'urldecode'
          2        SEND_VAL                                                 '%22hello%2520how%2520are%2520you%2520bn%22'
          3        DO_ICALL                                         $3      
          4        SEND_VAR                                                 $3
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 -1
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
    3     9        INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 -2
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    4    14        INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 0
         17        COUNT                                            ~8      !0
         18        SUB                                              ~9      ~8, 4
         19        SEND_VAL                                                 ~9
         20        DO_ICALL                                         $10     
         21        ASSIGN                                                   !2, $10
    6    22        ECHO                                                     !2
    7    23        ECHO                                                     '%21%21%21'
    8    24        ECHO                                                     !1
    9    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.21 ms | 1395 KiB | 17 Q