3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.86 ms | 1394 KiB | 15 Q