3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(1/9*9 === 1); var_dump(1/9*9 == 1); var_dump(1/9*9 === (float)1); var_dump((float)(string)(1/9*9) == (float)1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CRr6E
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <false>
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        CAST                                          5  ~2      1
          8        IS_IDENTICAL                                     ~3      ~2, 1
          9        SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'var_dump'
         12        CAST                                          6  ~5      1
         13        CAST                                          5  ~6      ~5
         14        CAST                                          5  ~7      1
         15        IS_EQUAL                                         ~8      ~6, ~7
         16        SEND_VAL                                                 ~8
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.96 ms | 1394 KiB | 15 Q