3v4l.org

run code in 500+ PHP versions simultaneously
<?php define('’', 'hello'); $foo = 'hello'; if ( ’ == $foo ) { echo 'It works!'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/1LQvW
function name:  (null)
number of ops:  10
compiled vars:  !0 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'define'
          1        SEND_VAL                                                     '%E2%80%99'
          2        SEND_VAL                                                     'hello'
          3        DO_ICALL                                                     
    4     4        ASSIGN                                                       !0, 'hello'
    6     5        FETCH_CONSTANT                                       ~3      '%E2%80%99'
          6        IS_EQUAL                                                     !0, ~3
          7      > JMPZ                                                         ~4, ->9
    7     8    >   ECHO                                                         'It+works%21'
    8     9    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.15 ms | 3270 KiB | 14 Q