3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (version_compare(PHP_VERSION, '5.5', '>=')) { return; } var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk0')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk1')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk2')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk3')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk4')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk5')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk6')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk7')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk8')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk9')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk0')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk.')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk/')); var_dump(crypt('foo', '$2a$10$0123456789abcdefghijk$'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dDYEg
function name:  (null)
number of ops:  113
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'version_compare'
          1        SEND_VAL                                                 '8.0.0'
          2        SEND_VAL                                                 '5.5'
          3        SEND_VAL                                                 '%3E%3D'
          4        DO_ICALL                                         $0      
          5      > JMPZ                                                     $0, ->7
          6    > > RETURN                                                   null
    4     7    >   INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'crypt'
          9        SEND_VAL                                                 'foo'
         10        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk'
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                                 
    5    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'crypt'
         16        SEND_VAL                                                 'foo'
         17        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk0'
         18        DO_ICALL                                         $3      
         19        SEND_VAR                                                 $3
         20        DO_ICALL                                                 
    6    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'crypt'
         23        SEND_VAL                                                 'foo'
         24        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk1'
         25        DO_ICALL                                         $5      
         26        SEND_VAR                                                 $5
         27        DO_ICALL                                                 
    7    28        INIT_FCALL                                               'var_dump'
         29        INIT_FCALL                                               'crypt'
         30        SEND_VAL                                                 'foo'
         31        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk2'
         32        DO_ICALL                                         $7      
         33        SEND_VAR                                                 $7
         34        DO_ICALL                                                 
    8    35        INIT_FCALL                                               'var_dump'
         36        INIT_FCALL                                               'crypt'
         37        SEND_VAL                                                 'foo'
         38        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk3'
         39        DO_ICALL                                         $9      
         40        SEND_VAR                                                 $9
         41        DO_ICALL                                                 
    9    42        INIT_FCALL                                               'var_dump'
         43        INIT_FCALL                                               'crypt'
         44        SEND_VAL                                                 'foo'
         45        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk4'
         46        DO_ICALL                                         $11     
         47        SEND_VAR                                                 $11
         48        DO_ICALL                                                 
   10    49        INIT_FCALL                                               'var_dump'
         50        INIT_FCALL                                               'crypt'
         51        SEND_VAL                                                 'foo'
         52        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk5'
         53        DO_ICALL                                         $13     
         54        SEND_VAR                                                 $13
         55        DO_ICALL                                                 
   11    56        INIT_FCALL                                               'var_dump'
         57        INIT_FCALL                                               'crypt'
         58        SEND_VAL                                                 'foo'
         59        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk6'
         60        DO_ICALL                                         $15     
         61        SEND_VAR                                                 $15
         62        DO_ICALL                                                 
   12    63        INIT_FCALL                                               'var_dump'
         64        INIT_FCALL                                               'crypt'
         65        SEND_VAL                                                 'foo'
         66        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk7'
         67        DO_ICALL                                         $17     
         68        SEND_VAR                                                 $17
         69        DO_ICALL                                                 
   13    70        INIT_FCALL                                               'var_dump'
         71        INIT_FCALL                                               'crypt'
         72        SEND_VAL                                                 'foo'
         73        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk8'
         74        DO_ICALL                                         $19     
         75        SEND_VAR                                                 $19
         76        DO_ICALL                                                 
   14    77        INIT_FCALL                                               'var_dump'
         78        INIT_FCALL                                               'crypt'
         79        SEND_VAL                                                 'foo'
         80        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk9'
         81        DO_ICALL                                         $21     
         82        SEND_VAR                                                 $21
         83        DO_ICALL                                                 
   15    84        INIT_FCALL                                               'var_dump'
         85        INIT_FCALL                                               'crypt'
         86        SEND_VAL                                                 'foo'
         87        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk0'
         88        DO_ICALL                                         $23     
         89        SEND_VAR                                                 $23
         90        DO_ICALL                                                 
   16    91        INIT_FCALL                                               'var_dump'
         92        INIT_FCALL                                               'crypt'
         93        SEND_VAL                                                 'foo'
         94        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk.'
         95        DO_ICALL                                         $25     
         96        SEND_VAR                                                 $25
         97        DO_ICALL                                                 
   17    98        INIT_FCALL                                               'var_dump'
         99        INIT_FCALL                                               'crypt'
        100        SEND_VAL                                                 'foo'
        101        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk%2F'
        102        DO_ICALL                                         $27     
        103        SEND_VAR                                                 $27
        104        DO_ICALL                                                 
   18   105        INIT_FCALL                                               'var_dump'
        106        INIT_FCALL                                               'crypt'
        107        SEND_VAL                                                 'foo'
        108        SEND_VAL                                                 '%242a%2410%240123456789abcdefghijk%24'
        109        DO_ICALL                                         $29     
        110        SEND_VAR                                                 $29
        111        DO_ICALL                                                 
        112      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.1 ms | 1404 KiB | 19 Q