3v4l.org

run code in 300+ PHP versions simultaneously
<?php $client_pass = array(1); $server_pass = '1'; if ($client_pass == $server_pass) { print 'samezies 1'; } $server_pass = 'foo'; if ($client_pass == $server_pass) { print 'samezies foo'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
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
Branch analysis from position: 5
filename:       /in/JXZlT
function name:  (null)
number of ops:  10
compiled vars:  !0 = $client_pass, !1 = $server_pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, '1'
    5     2        IS_EQUAL                                                 !0, !1
          3      > JMPZ                                                     ~4, ->5
    6     4    >   ECHO                                                     'samezies+1'
    9     5    >   ASSIGN                                                   !1, 'foo'
   10     6        IS_EQUAL                                                 !0, !1
          7      > JMPZ                                                     ~6, ->9
   11     8    >   ECHO                                                     'samezies+foo'
   12     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.27 ms | 1397 KiB | 13 Q