3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( crypt('', '$2`$05$CCCCCCCCCCCCCCCCCCCCC.'), // expect '*0' crypt('', '$2{$05$CCCCCCCCCCCCCCCCCCCCC.'), // expect '*0' crypt('', '*0') // expect '*1' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1HLPI
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'crypt'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 '%242%60%2405%24CCCCCCCCCCCCCCCCCCCCC.'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
    5     6        INIT_FCALL                                               'crypt'
          7        SEND_VAL                                                 ''
          8        SEND_VAL                                                 '%242%7B%2405%24CCCCCCCCCCCCCCCCCCCCC.'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
    6    11        INIT_FCALL                                               'crypt'
         12        SEND_VAL                                                 ''
         13        SEND_VAL                                                 '%2A0'
         14        DO_ICALL                                         $2      
         15        SEND_VAR                                                 $2
         16        DO_ICALL                                                 
    7    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.06 ms | 1394 KiB | 17 Q