3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!empty($_REQUEST['code'])) { $code = trim($_REQUEST['code']); } var_dump($code);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/1X2B3
function name:  (null)
number of ops:  14
compiled vars:  !0 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_IS                                         ~1      '_REQUEST'
          1        ISSET_ISEMPTY_DIM_OBJ                         1  ~2      ~1, 'code'
          2        BOOL_NOT                                         ~3      ~2
          3      > JMPZ                                                     ~3, ->10
    3     4    >   INIT_FCALL                                               'trim'
          5        FETCH_R                      global              ~4      '_REQUEST'
          6        FETCH_DIM_R                                      ~5      ~4, 'code'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !0, $6
    7    10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.5 ms | 1398 KiB | 17 Q