3v4l.org

run code in 300+ PHP versions simultaneously
<?php extract(['2' => 'herp']); var_dump("$2"); $salt = null; $salt = sprintf("$2a$%02d$", 10) . $salt; var_dump($salt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CVfWM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'extract'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 '%242'
          5        DO_ICALL                                                 
    6     6        ASSIGN                                                   !0, null
    7     7        INIT_FCALL                                               'sprintf'
          8        SEND_VAL                                                 '%242a%24%2502d%24'
          9        SEND_VAL                                                 10
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      $4, !0
         12        ASSIGN                                                   !0, ~5
    8    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.6 ms | 1398 KiB | 19 Q