3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.58 ms | 1394 KiB | 17 Q