3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'SHA-512: ' . crypt('salasana', '$6$rounds=10$qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq/mPN8a.rE40') . "\n"; echo 'SHA-512: ' . crypt('salasana', '$6$qNElXs2yMnL2.GN') . "\n"; echo 'SHA-512: ' . crypt('salasana', '$6$rounds=99$') . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XhAMR
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'crypt'
          1        SEND_VAL                                                 'salasana'
          2        SEND_VAL                                                 '%246%24rounds%3D10%24qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq%2FmPN8a.rE40'
          3        DO_ICALL                                         $0      
          4        CONCAT                                           ~1      'SHA-512%3A++++++', $0
          5        CONCAT                                           ~2      ~1, '%0A'
          6        ECHO                                                     ~2
    3     7        INIT_FCALL                                               'crypt'
          8        SEND_VAL                                                 'salasana'
          9        SEND_VAL                                                 '%246%24qNElXs2yMnL2.GN'
         10        DO_ICALL                                         $3      
         11        CONCAT                                           ~4      'SHA-512%3A++++++', $3
         12        CONCAT                                           ~5      ~4, '%0A'
         13        ECHO                                                     ~5
    4    14        INIT_FCALL                                               'crypt'
         15        SEND_VAL                                                 'salasana'
         16        SEND_VAL                                                 '%246%24rounds%3D99%24'
         17        DO_ICALL                                         $6      
         18        CONCAT                                           ~7      'SHA-512%3A++++++', $6
         19        CONCAT                                           ~8      ~7, '%0A'
         20        ECHO                                                     ~8
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.27 ms | 1386 KiB | 15 Q