3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo crypt('meow', '$2y$05$....................//meow') . PHP_EOL; // salt: ....................// echo crypt('meow', '$2y$05$....................//woof') . PHP_EOL; // salt: ....................// echo crypt('meow', '$2y$05$....................//oink') . PHP_EOL; // salt: ....................// echo PHP_EOL . '###########################' . PHP_EOL . PHP_EOL; echo $meow = crypt('meow', '$2y$05$..................../meow') . PHP_EOL; // salt: ..................../m echo $woof = crypt('meow', '$2y$05$..................../woof') . PHP_EOL; // salt: ..................../w echo $oink = crypt('meow', '$2y$05$..................../oink') . PHP_EOL; // salt: ..................../o echo PHP_EOL . '###########################' . PHP_EOL . PHP_EOL; echo crypt('meow', $meow) . PHP_EOL; // salt: ..................../m echo crypt('meow', $woof) . PHP_EOL; // salt: ..................../w echo crypt('meow', $oink) . PHP_EOL; // salt: ..................../o echo PHP_EOL . '###########################' . PHP_EOL . PHP_EOL; var_dump( $meow, crypt('meow', $meow), $woof, crypt('meow', $woof), $oink, crypt('meow', $oink) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rTXsT
function name:  (null)
number of ops:  81
compiled vars:  !0 = $meow, !1 = $woof, !2 = $oink
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'crypt'
          1        SEND_VAL                                                 'meow'
          2        SEND_VAL                                                 '%242y%2405%24....................%2F%2Fmeow'
          3        DO_ICALL                                         $3      
          4        CONCAT                                           ~4      $3, '%0A'
          5        ECHO                                                     ~4
    4     6        INIT_FCALL                                               'crypt'
          7        SEND_VAL                                                 'meow'
          8        SEND_VAL                                                 '%242y%2405%24....................%2F%2Fwoof'
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      $5, '%0A'
         11        ECHO                                                     ~6
    5    12        INIT_FCALL                                               'crypt'
         13        SEND_VAL                                                 'meow'
         14        SEND_VAL                                                 '%242y%2405%24....................%2F%2Foink'
         15        DO_ICALL                                         $7      
         16        CONCAT                                           ~8      $7, '%0A'
         17        ECHO                                                     ~8
    7    18        ECHO                                                     '%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0A'
    9    19        INIT_FCALL                                               'crypt'
         20        SEND_VAL                                                 'meow'
         21        SEND_VAL                                                 '%242y%2405%24....................%2Fmeow'
         22        DO_ICALL                                         $9      
         23        CONCAT                                           ~10     $9, '%0A'
         24        ASSIGN                                           ~11     !0, ~10
         25        ECHO                                                     ~11
   10    26        INIT_FCALL                                               'crypt'
         27        SEND_VAL                                                 'meow'
         28        SEND_VAL                                                 '%242y%2405%24....................%2Fwoof'
         29        DO_ICALL                                         $12     
         30        CONCAT                                           ~13     $12, '%0A'
         31        ASSIGN                                           ~14     !1, ~13
         32        ECHO                                                     ~14
   11    33        INIT_FCALL                                               'crypt'
         34        SEND_VAL                                                 'meow'
         35        SEND_VAL                                                 '%242y%2405%24....................%2Foink'
         36        DO_ICALL                                         $15     
         37        CONCAT                                           ~16     $15, '%0A'
         38        ASSIGN                                           ~17     !2, ~16
         39        ECHO                                                     ~17
   13    40        ECHO                                                     '%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0A'
   15    41        INIT_FCALL                                               'crypt'
         42        SEND_VAL                                                 'meow'
         43        SEND_VAR                                                 !0
         44        DO_ICALL                                         $18     
         45        CONCAT                                           ~19     $18, '%0A'
         46        ECHO                                                     ~19
   16    47        INIT_FCALL                                               'crypt'
         48        SEND_VAL                                                 'meow'
         49        SEND_VAR                                                 !1
         50        DO_ICALL                                         $20     
         51        CONCAT                                           ~21     $20, '%0A'
         52        ECHO                                                     ~21
   17    53        INIT_FCALL                                               'crypt'
         54        SEND_VAL                                                 'meow'
         55        SEND_VAR                                                 !2
         56        DO_ICALL                                         $22     
         57        CONCAT                                           ~23     $22, '%0A'
         58        ECHO                                                     ~23
   19    59        ECHO                                                     '%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0A'
   21    60        INIT_FCALL                                               'var_dump'
   22    61        SEND_VAR                                                 !0
   23    62        INIT_FCALL                                               'crypt'
         63        SEND_VAL                                                 'meow'
         64        SEND_VAR                                                 !0
         65        DO_ICALL                                         $24     
         66        SEND_VAR                                                 $24
   25    67        SEND_VAR                                                 !1
   26    68        INIT_FCALL                                               'crypt'
         69        SEND_VAL                                                 'meow'
         70        SEND_VAR                                                 !1
         71        DO_ICALL                                         $25     
         72        SEND_VAR                                                 $25
   28    73        SEND_VAR                                                 !2
   29    74        INIT_FCALL                                               'crypt'
         75        SEND_VAL                                                 'meow'
         76        SEND_VAR                                                 !2
         77        DO_ICALL                                         $26     
         78        SEND_VAR                                                 $26
         79        DO_ICALL                                                 
   30    80      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.15 ms | 1392 KiB | 17 Q