3v4l.org

run code in 500+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'de_DE'); printf("%.2F ", 1000 + M_PI); // 3.14 printf("%.2f ", 1000 + M_PI); // 3,14
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pQsK5
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'setlocale'
          1        SEND_VAL                                                     6
          2        SEND_VAL                                                     'de_DE'
          3        DO_ICALL                                                     
    4     4        INIT_FCALL                                                   'printf'
          5        SEND_VAL                                                     '%25.2F+'
          6        SEND_VAL                                                     1003.14
          7        DO_ICALL                                                     
    5     8        INIT_FCALL                                                   'printf'
          9        SEND_VAL                                                     '%25.2f+'
         10        SEND_VAL                                                     1003.14
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
131.81 ms | 478 KiB | 9 Q