3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.75 ms | 1394 KiB | 15 Q