3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = 2 and 3; $b = 2 && 3; var_dump($a, $b);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/dVVYc
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                               ~2      !0, 2
          1      > JMPZ_EX                                              ~2      ~2, ->3
          2    >   BOOL                                                 ~2      3
    4     3    >   ASSIGN                                                       !1, <true>
    6     4        INIT_FCALL                                                   'var_dump'
          5        SEND_VAR                                                     !0
          6        SEND_VAR                                                     !1
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.09 ms | 2072 KiB | 14 Q