3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.05 ms | 1394 KiB | 15 Q