3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pairs = [ '240610708' => 'QNKCDZO', 'aabg7XSs' => 'aabC9RqS', 'aaroZmOk' => 'aaK1STfY', 'aaO8zKZF' => 'aa3OFF9m', '0010e2' => '1e3', '0x1234Ab' => '1193131', '0xABCdef' => ' 0xABCdef', ]; foreach ($pairs as $k => $v) { echo "Comparing '$k' and '$v': ".md5($k). " == ". md5($v) . "\n"; var_dump(md5($k) == md5($v)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 31
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 31
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
filename:       /in/nDvY6
function name:  (null)
number of ops:  33
compiled vars:  !0 = $pairs, !1 = $v, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1      > FE_RESET_R                                       $4      !0, ->31
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->31
          3    >   ASSIGN                                                   !2, ~5
   14     4        ROPE_INIT                                     5  ~8      'Comparing+%27'
          5        ROPE_ADD                                      1  ~8      ~8, !2
          6        ROPE_ADD                                      2  ~8      ~8, '%27+and+%27'
          7        ROPE_ADD                                      3  ~8      ~8, !1
          8        ROPE_END                                      4  ~7      ~8, '%27%3A+'
          9        INIT_FCALL                                               'md5'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $11     
         12        CONCAT                                           ~12     ~7, $11
         13        CONCAT                                           ~13     ~12, '+%3D%3D+'
         14        INIT_FCALL                                               'md5'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $14     
         17        CONCAT                                           ~15     ~13, $14
         18        CONCAT                                           ~16     ~15, '%0A'
         19        ECHO                                                     ~16
   15    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'md5'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                         $17     
         24        INIT_FCALL                                               'md5'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $18     
         27        IS_EQUAL                                         ~19     $17, $18
         28        SEND_VAL                                                 ~19
         29        DO_ICALL                                                 
   13    30      > JMP                                                      ->2
         31    >   FE_FREE                                                  $4
   16    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.08 ms | 1396 KiB | 17 Q