3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = sscanf('1234-11-33', '%d-%d', $year, $month, $day); var_dump($year, $month, $count);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q27IJ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $count, !1 = $year, !2 = $month, !3 = $day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'sscanf'
          1        SEND_VAL                                                 '1234-11-33'
          2        SEND_VAL                                                 '%25d-%25d'
          3        SEND_REF                                                 !1
          4        SEND_REF                                                 !2
          5        SEND_REF                                                 !3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.14 ms | 1394 KiB | 17 Q