3v4l.org

run code in 300+ PHP versions simultaneously
<?php defined('EMPTY_STRING') or define('EMPTY_STRING', strval(NULL)); class test{ const EMPTY_STRING = EMPTY_STRING; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 8
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/btSg1
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DEFINED                                          ~0      'EMPTY_STRING'
          1      > JMPNZ_EX                                         ~0      ~0, ->8
          2    >   INIT_FCALL                                               'define'
          3        SEND_VAL                                                 'EMPTY_STRING'
          4        CAST                                          6  ~1      null
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                         $2      
          7        BOOL                                             ~0      $2
    7     8    > > RETURN                                                   1

Class test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.87 ms | 1398 KiB | 15 Q