3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = (substr(crypt('test', '$2y$04$012345678901234567890123456789'), 0, 2) === '$2y'); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7HejP
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'crypt'
          2        SEND_VAL                                                 'test'
          3        SEND_VAL                                                 '%242y%2404%24012345678901234567890123456789'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 2
          8        DO_ICALL                                         $2      
          9        IS_IDENTICAL                                     ~3      $2, '%242y'
         10        ASSIGN                                                   !0, ~3
    3    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.36 ms | 939 KiB | 20 Q