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 == 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XqOnv
function name:  (null)
number of ops:  20
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        DIV                                              ~7      ~6, 9
         15        MUL                                              ~8      ~7, 9
         16        IS_EQUAL                                         ~9      ~8, 1
         17        SEND_VAL                                                 ~9
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.99 ms | 1394 KiB | 15 Q