3v4l.org

run code in 300+ PHP versions simultaneously
<?php $switch = 0; echo (int)$switch === 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GbOqm
function name:  (null)
number of ops:  5
compiled vars:  !0 = $switch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        CAST                                          4  ~2      !0
          2        IS_IDENTICAL                                     ~3      ~2, 1
          3        ECHO                                                     ~3
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.28 ms | 1392 KiB | 13 Q