3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%.2d\n", 42); printf("%1.2f\n", 42); printf("%1.2u\n", 42);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4JGL8
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '%25.2d%0A'
          2        SEND_VAL                                                 42
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%251.2f%0A'
          6        SEND_VAL                                                 42
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'printf'
          9        SEND_VAL                                                 '%251.2u%0A'
         10        SEND_VAL                                                 42
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.17 ms | 1385 KiB | 15 Q