3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 1,2,3,4, array("wat" => "watdf8u38472309ufj"), ); $mt = microtime(true); $_arr = eval(utf8_decode(var_export($arr, true).";")); print microtime(true) - $mt."\n\n"; $mt = microtime(true); $_f = create_function("", "return ".utf8_decode(var_export($arr, true)).";"); $_arr = call_user_func($_f); print microtime(true) - $mt."\n\n"; $mt = microtime(true); $_arr = include "data://text/php,base64;".base64_encode("return ".utf8_decode(var_export($arr, true)).";"); print microtime(true) - $mt."\n\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hkDam
function name:  (null)
number of ops:  74
compiled vars:  !0 = $arr, !1 = $mt, !2 = $_arr, !3 = $_f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    9     5        INIT_FCALL                                               'utf8_decode'
          6        INIT_FCALL                                               'var_export'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $7      
         10        CONCAT                                           ~8      $7, '%3B'
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        INCLUDE_OR_EVAL                                  $10     $9, EVAL
         14        ASSIGN                                                   !2, $10
   10    15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $12     
         18        SUB                                              ~13     $12, !1
         19        CONCAT                                           ~14     ~13, '%0A%0A'
         20        ECHO                                                     ~14
   12    21        INIT_FCALL                                               'microtime'
         22        SEND_VAL                                                 <true>
         23        DO_ICALL                                         $15     
         24        ASSIGN                                                   !1, $15
   13    25        INIT_FCALL_BY_NAME                                       'create_function'
         26        SEND_VAL_EX                                              ''
         27        INIT_FCALL                                               'utf8_decode'
         28        INIT_FCALL                                               'var_export'
         29        SEND_VAR                                                 !0
         30        SEND_VAL                                                 <true>
         31        DO_ICALL                                         $17     
         32        SEND_VAR                                                 $17
         33        DO_ICALL                                         $18     
         34        CONCAT                                           ~19     'return+', $18
         35        CONCAT                                           ~20     ~19, '%3B'
         36        SEND_VAL_EX                                              ~20
         37        DO_FCALL                                      0  $21     
         38        ASSIGN                                                   !3, $21
   14    39        INIT_USER_CALL                                0          'call_user_func', !3
         40        DO_FCALL                                      0  $23     
         41        ASSIGN                                                   !2, $23
   15    42        INIT_FCALL                                               'microtime'
         43        SEND_VAL                                                 <true>
         44        DO_ICALL                                         $25     
         45        SUB                                              ~26     $25, !1
         46        CONCAT                                           ~27     ~26, '%0A%0A'
         47        ECHO                                                     ~27
   17    48        INIT_FCALL                                               'microtime'
         49        SEND_VAL                                                 <true>
         50        DO_ICALL                                         $28     
         51        ASSIGN                                                   !1, $28
   18    52        INIT_FCALL                                               'base64_encode'
         53        INIT_FCALL                                               'utf8_decode'
         54        INIT_FCALL                                               'var_export'
         55        SEND_VAR                                                 !0
         56        SEND_VAL                                                 <true>
         57        DO_ICALL                                         $30     
         58        SEND_VAR                                                 $30
         59        DO_ICALL                                         $31     
         60        CONCAT                                           ~32     'return+', $31
         61        CONCAT                                           ~33     ~32, '%3B'
         62        SEND_VAL                                                 ~33
         63        DO_ICALL                                         $34     
         64        CONCAT                                           ~35     'data%3A%2F%2Ftext%2Fphp%2Cbase64%3B', $34
         65        INCLUDE_OR_EVAL                                  $36     ~35, INCLUDE
         66        ASSIGN                                                   !2, $36
   19    67        INIT_FCALL                                               'microtime'
         68        SEND_VAL                                                 <true>
         69        DO_ICALL                                         $38     
         70        SUB                                              ~39     $38, !1
         71        CONCAT                                           ~40     ~39, '%0A%0A'
         72        ECHO                                                     ~40
         73      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
265.32 ms | 1405 KiB | 22 Q