3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Text to hash $text = "Get#123"; // Generate bcrypt hash $hash = password_hash($text, PASSWORD_BCRYPT); // Output result echo "Original Text: " . $text . PHP_EOL; echo "Bcrypt Hash: " . $hash . PHP_EOL; ?> <?php // Text to hash $text = "Get#123"; // Generate bcrypt hash $hash = password_hash($text, PASSWORD_BCRYPT); // Output result echo "Original Text: " . $text . PHP_EOL; echo "Bcrypt Hash: " . $hash . PHP_EOL; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pClAJ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $text, !1 = $hash
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                       !0, 'Get%23123'
    7     1        INIT_FCALL                                                   'password_hash'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '2y'
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
   10     6        CONCAT                                               ~5      'Original+Text%3A+', !0
          7        CONCAT                                               ~6      ~5, '%0A'
          8        ECHO                                                         ~6
   11     9        CONCAT                                               ~7      'Bcrypt+Hash%3A+', !1
         10        CONCAT                                               ~8      ~7, '%0A'
         11        ECHO                                                         ~8
   17    12        ASSIGN                                                       !0, 'Get%23123'
   20    13        INIT_FCALL                                                   'password_hash'
         14        SEND_VAR                                                     !0
         15        SEND_VAL                                                     '2y'
         16        DO_ICALL                                             $10     
         17        ASSIGN                                                       !1, $10
   23    18        CONCAT                                               ~12     'Original+Text%3A+', !0
         19        CONCAT                                               ~13     ~12, '%0A'
         20        ECHO                                                         ~13
   24    21        CONCAT                                               ~14     'Bcrypt+Hash%3A+', !1
         22        CONCAT                                               ~15     ~14, '%0A'
         23        ECHO                                                         ~15
   26    24      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.88 ms | 1334 KiB | 14 Q