3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.31 ms | 1394 KiB | 15 Q