3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'ru_RU.UTF-8'); echo(sprintf("%.2F", 13.332) + sprintf("%.2F", 14.446));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mHiRk
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'ru_RU.UTF-8'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'sprintf'
          5        SEND_VAL                                                 '%25.2F'
          6        SEND_VAL                                                 13.332
          7        DO_ICALL                                         $1      
          8        INIT_FCALL                                               'sprintf'
          9        SEND_VAL                                                 '%25.2F'
         10        SEND_VAL                                                 14.446
         11        DO_ICALL                                         $2      
         12        ADD                                              ~3      $1, $2
         13        ECHO                                                     ~3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.08 ms | 1394 KiB | 17 Q