3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(sscanf(str_replace(':', '', '7:00-10:00'), "%d-%d"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lD3bm
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
          1        INIT_FCALL                                               'sscanf'
          2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%3A'
          4        SEND_VAL                                                 ''
          5        SEND_VAL                                                 '7%3A00-10%3A00'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        SEND_VAL                                                 '%25d-%25d'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
127.63 ms | 1000 KiB | 16 Q