3v4l.org

run code in 500+ PHP versions simultaneously
<?php $format = 'only %d - %.1f'; printf($format, 1, 2); $str = sprintf($format, 1, 2); sscanf($str, $format, $low, $max);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I1AVe
function name:  (null)
number of ops:  19
compiled vars:  !0 = $format, !1 = $str, !2 = $low, !3 = $max
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'only+%25d+-+%25.1f'
    4     1        INIT_FCALL                                                   'printf'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     1
          4        SEND_VAL                                                     2
          5        DO_ICALL                                                     
    5     6        INIT_FCALL                                                   'sprintf'
          7        SEND_VAR                                                     !0
          8        SEND_VAL                                                     1
          9        SEND_VAL                                                     2
         10        DO_ICALL                                             $6      
         11        ASSIGN                                                       !1, $6
    6    12        INIT_FCALL                                                   'sscanf'
         13        SEND_VAR                                                     !1
         14        SEND_VAR                                                     !0
         15        SEND_REF                                                     !2
         16        SEND_REF                                                     !3
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.52 ms | 2778 KiB | 11 Q