3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.39 ms | 1395 KiB | 17 Q