3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo '3'; //echo(number_format(3, 2, '', '')); $points = number_format(3, 2, '', ''); $points = str_pad($points, 5, '0', STR_PAD_LEFT); echo $points;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oM1vI
function name:  (null)
number of ops:  16
compiled vars:  !0 = $points
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'number_format'
          1        SEND_VAL                                                 3
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 ''
          4        SEND_VAL                                                 ''
          5        DO_ICALL                                         $1      
          6        ASSIGN                                                   !0, $1
    8     7        INIT_FCALL                                               'str_pad'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 5
         10        SEND_VAL                                                 '0'
         11        SEND_VAL                                                 0
         12        DO_ICALL                                         $3      
         13        ASSIGN                                                   !0, $3
    9    14        ECHO                                                     !0
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.62 ms | 1398 KiB | 17 Q