3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '0xFF'; $y = 255; var_dump($x == $y); $z = array($x => 0, $y => 1); var_dump(count($z));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qXe31
function name:  (null)
number of ops:  14
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0xFF'
    4     1        ASSIGN                                                   !1, 255
    6     2        INIT_FCALL                                               'var_dump'
          3        IS_EQUAL                                         ~5      !0, !1
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                                 
    8     6        INIT_ARRAY                                       ~7      0, !0
          7        ADD_ARRAY_ELEMENT                                ~7      1, !1
          8        ASSIGN                                                   !2, ~7
   10     9        INIT_FCALL                                               'var_dump'
         10        COUNT                                            ~9      !2
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1394 KiB | 15 Q