3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "the quick brown fox jumped over the lazy dog 12345"; var_dump( array_map( function($a) { return [ $a, bin2hex(base64_decode($a)), $r = trim(base64_encode(base64_decode($a)), '='), $a == $r ]; }, explode(' ', $input) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uilfC
function name:  (null)
number of ops:  14
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'the+quick+brown+fox+jumped+over+the+lazy+dog+12345'
    4     1        INIT_FCALL                                               'var_dump'
    5     2        INIT_FCALL                                               'array_map'
    6     3        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   11     4        SEND_VAL                                                 ~2
   12     5        INIT_FCALL                                               'explode'
          6        SEND_VAL                                                 '+'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
    5    10        DO_ICALL                                         $4      
   12    11        SEND_VAR                                                 $4
    4    12        DO_ICALL                                                 
   14    13      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uilfC
function name:  {closure}
number of ops:  25
compiled vars:  !0 = $a, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        INIT_ARRAY                                       ~2      !0
    8     2        INIT_FCALL                                               'bin2hex'
          3        INIT_FCALL                                               'base64_decode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ADD_ARRAY_ELEMENT                                ~2      $4
    9     9        INIT_FCALL                                               'trim'
         10        INIT_FCALL                                               'base64_encode'
         11        INIT_FCALL                                               'base64_decode'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        SEND_VAL                                                 '%3D'
         18        DO_ICALL                                         $7      
         19        ASSIGN                                           ~8      !1, $7
         20        ADD_ARRAY_ELEMENT                                ~2      ~8
   10    21        IS_EQUAL                                         ~9      !0, !1
         22        ADD_ARRAY_ELEMENT                                ~2      ~9
         23      > RETURN                                                   ~2
   11    24*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.5 ms | 1005 KiB | 20 Q