3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(0 == "0"); var_dump(0 == "0.0"); var_dump(0 == "foo"); var_dump(0 == ""); var_dump(42 == " 42"); var_dump(42 == "42foo"); echo "\n"; var_dump(0.0 == ""); var_dump(42.0 == "42foo"); var_dump(42 == "42.0foo"); var_dump(42.1 == "42.0foo"); var_dump(42.0 == "42.0foo");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0VWtq
function name:  (null)
number of ops:  35
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 <false>
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <false>
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 <false>
         17        DO_ICALL                                                 
   10    18        ECHO                                                     '%0A'
   12    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAL                                                 <false>
         21        DO_ICALL                                                 
   13    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAL                                                 <false>
         24        DO_ICALL                                                 
   14    25        INIT_FCALL                                               'var_dump'
         26        SEND_VAL                                                 <false>
         27        DO_ICALL                                                 
   15    28        INIT_FCALL                                               'var_dump'
         29        SEND_VAL                                                 <false>
         30        DO_ICALL                                                 
   16    31        INIT_FCALL                                               'var_dump'
         32        SEND_VAL                                                 <false>
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.62 ms | 1001 KiB | 14 Q