3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pwd = 'heslo123'; echo crypt($pwd, $pwd[0]) . "\n"; echo crypt($pwd, $pwd[0] . '$') . "\n"; echo crypt($pwd, $pwd[0] . $pwd[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0WpCj
function name:  (null)
number of ops:  25
compiled vars:  !0 = $pwd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'heslo123'
    5     1        INIT_FCALL                                               'crypt'
          2        SEND_VAR                                                 !0
          3        FETCH_DIM_R                                      ~2      !0, 0
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        CONCAT                                           ~4      $3, '%0A'
          7        ECHO                                                     ~4
    6     8        INIT_FCALL                                               'crypt'
          9        SEND_VAR                                                 !0
         10        FETCH_DIM_R                                      ~5      !0, 0
         11        CONCAT                                           ~6      ~5, '%24'
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                         $7      
         14        CONCAT                                           ~8      $7, '%0A'
         15        ECHO                                                     ~8
    7    16        INIT_FCALL                                               'crypt'
         17        SEND_VAR                                                 !0
         18        FETCH_DIM_R                                      ~9      !0, 0
         19        FETCH_DIM_R                                      ~10     !0, 0
         20        CONCAT                                           ~11     ~9, ~10
         21        SEND_VAL                                                 ~11
         22        DO_ICALL                                         $12     
         23        ECHO                                                     $12
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173 ms | 1395 KiB | 15 Q