3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.4 ms | 1394 KiB | 15 Q