3v4l.org

run code in 300+ PHP versions simultaneously
<?php (@__MPHUN__ == '__MPHUN__') && define('__MPHUN__', strtoupper('magic is phun')); echo __MPHUN__;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/NlYbV
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~0      
          1        FETCH_CONSTANT                                   ~1      '__MPHUN__'
          2        END_SILENCE                                              ~0
          3        IS_EQUAL                                         ~2      ~1, '__MPHUN__'
          4      > JMPZ_EX                                          ~2      ~2, ->13
          5    >   INIT_FCALL                                               'define'
          6        SEND_VAL                                                 '__MPHUN__'
          7        INIT_FCALL                                               'strtoupper'
          8        SEND_VAL                                                 'magic+is+phun'
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12        BOOL                                             ~2      $4
    3    13    >   FETCH_CONSTANT                                   ~5      '__MPHUN__'
         14        ECHO                                                     ~5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.52 ms | 1394 KiB | 17 Q