3v4l.org

run code in 300+ PHP versions simultaneously
<?php (@WTF == 'WTF') && define('WTF', 'foo'); echo "result of var_dump(WTF):\r\n"; var_dump(WTF);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/k8AoT
function name:  (null)
number of ops:  16
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   BEGIN_SILENCE                                    ~0      
         1        FETCH_CONSTANT                                   ~1      'WTF'
         2        END_SILENCE                                              ~0
         3        IS_NOT_EQUAL                                     ~2      ~1, 'WTF'
         4      > JMPZ_EX                                          ~2      ~2, ->10
         5    >   INIT_FCALL                                               'define'
         6        SEND_VAL                                                 'WTF'
         7        SEND_VAL                                                 'foo'
         8        DO_ICALL                                         $3      
         9        BOOL                                             ~2      $3
   5    10    >   ASSIGN_OBJ                                               'result+of+var_dump%28WTF%29%3A%0D%0A'
   6    11        INIT_FCALL                                               'var_dump'
        12        FETCH_CONSTANT                                   ~4      'WTF'
        13        SEND_VAL                                                 ~4
        14        DO_ICALL                                                 
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
19.72 ms | 410 KiB | 7 Q