3v4l.org

run code in 300+ PHP versions simultaneously
<?php $encoded = 'Etvmp$Jsspw%%%%' .'[e}$xs$ks%$]sy$lezi$wspzih$xli$lmhhir$qiwweki2$Rs{$mx$mw$}syv$xyvr$xs$nsmr' .'mr$sr$xlmw$tvero2$Hs$rsx$tswx$er}xlmrk$xlex${mpp$kmzi$e{e}$xlmw$qiwweki2$Pix' .'tistpi$higshi$xli$qiwweki$sr$xlimv$s{r$erh$vieh$xlmw$qiwweki2$]sy$ger$tpe}$epsrk' .'f}$RSX$tswxmrk$ls{$}sy$higshih$xlmw$qiwweki2$Mrwxieh$tswx$}syv$wspyxmsr$xs$fi$}syv' .'jezsvmxi$Lipps${svph$tvskveq$mr$sri$perkyeki$sj$}syv$glsmgi2$' .'Qeoi$wyvi$}syv$tvskveq$we}w$&Lipps$[svph%%%&${mxl$7$%$ex$xli$irh2$Xlmw${e}' .'tistpi$fvs{wmrk$xli$gleppirki${mpp$xlmro${i$lezi$epp$pswx$syv$qmrhw2$Xlswi${ls$tswx$lipps' .'{svph$wspyxmsrw${mxlsyx$xli$xlvii$%%%${mpp$lezi$rsx$higshih$xli$qiwweki$erh$ws$}sy$ger$' .'tspmxip}$tsmrx$syx$xlimv$wspyxmsr$mw$mr$ivvsv$,xli}$evi$nywx$jspps{mrk$epsrk${mxlsyx$ors{mrk-' .'Irns}$xlmw$jyr2$Xli$xvyxl${mpp$fi$liph$f}$xlswi${ls$ger$higshi$xli$qiwweki2$>-'; solution($encoded); //----------------------------------------------------------------------------- // Decoder Solution //----------------------------------------------------------------------------- function solution($encoded) { $decoded = array_map(function ($char) { return chr(ord($char) - 4); }, str_split($encoded)); $decodedString = join('', $decoded); echo substr($decodedString, 336, 11)."!!!"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PHErC
function name:  (null)
number of ops:  5
compiled vars:  !0 = $encoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Etvmp%24Jsspw%25%25%25%25%5Be%7D%24xs%24ks%25%24%5Dsy%24lezi%24wspzih%24xli%24lmhhir%24qiwweki2%24Rs%7B%24mx%24mw%24%7Dsyv%24xyvr%24xs%24nsmrmr%24sr%24xlmw%24tvero2%24Hs%24rsx%24tswx%24er%7Dxlmrk%24xlex%24%7Bmpp%24kmzi%24e%7Be%7D%24xlmw%24qiwweki2%24Pixtistpi%24higshi%24xli%24qiwweki%24sr%24xlimv%24s%7Br%24erh%24vieh%24xlmw%24qiwweki2%24%5Dsy%24ger%24tpe%7D%24epsrkf%7D%24RSX%24tswxmrk%24ls%7B%24%7Dsy%24higshih%24xlmw%24qiwweki2%24Mrwxieh%24tswx%24%7Dsyv%24wspyxmsr%24xs%24fi%24%7Dsyvjezsvmxi%24Lipps%24%7Bsvph%24tvskveq%24mr%24sri%24perkyeki%24sj%24%7Dsyv%24glsmgi2%24Qeoi%24wyvi%24%7Dsyv%24tvskveq%24we%7Dw%24%26Lipps%24%5Bsvph%25%25%25%26%24%7Bmxl%247%24%25%24ex%24xli%24irh2%24Xlmw%24%7Be%7Dtistpi%24fvs%7Bwmrk%24xli%24gleppirki%24%7Bmpp%24xlmro%24%7Bi%24lezi%24epp%24pswx%24syv%24qmrhw2%24Xlswi%24%7Bls%24tswx%24lipps%7Bsvph%24wspyxmsrw%24%7Bmxlsyx%24xli%24xlvii%24%25%25%25%24%7Bmpp%24lezi%24rsx%24higshih%24xli%24qiwweki%24erh%24ws%24%7Dsy%24ger%24tspmxip%7D%24tsmrx%24syx%24xlimv%24wspyxmsr%24mw%24mr%24ivvsv%24%2Cxli%7D%24evi%24nywx%24jspps%7Bmrk%24epsrk%24%7Bmxlsyx%24ors%7Bmrk-Irns%7D%24xlmw%24jyr2%24Xli%24xvyxl%24%7Bmpp%24fi%24liph%24f%7D%24xlswi%24%7Bls%24ger%24higshi%24xli%24qiwweki2%24%3E-'
   14     1        INIT_FCALL_BY_NAME                                       'solution'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
   28     4      > RETURN                                                   1

Function solution:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PHErC
function name:  solution
number of ops:  23
compiled vars:  !0 = $encoded, !1 = $decoded, !2 = $decodedString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   RECV                                             !0      
   22     1        INIT_FCALL                                               'array_map'
          2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FPHErC%3A22%240'
   24     3        SEND_VAL                                                 ~3
          4        INIT_FCALL                                               'str_split'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
   22     9        ASSIGN                                                   !1, $5
   26    10        INIT_FCALL                                               'join'
         11        SEND_VAL                                                 ''
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        ASSIGN                                                   !2, $7
   27    15        INIT_FCALL                                               'substr'
         16        SEND_VAR                                                 !2
         17        SEND_VAL                                                 336
         18        SEND_VAL                                                 11
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     $9, '%21%21%21'
         21        ECHO                                                     ~10
   28    22      > RETURN                                                   null

End of function solution

Function %00%7Bclosure%7D%2Fin%2FPHErC%3A22%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PHErC
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
   23     1        INIT_FCALL                                               'chr'
          2        INIT_FCALL                                               'ord'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5        SUB                                              ~2      $1, 4
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                         $3      
          8      > RETURN                                                   $3
   24     9*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FPHErC%3A22%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.68 ms | 1400 KiB | 25 Q