3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 'hoi', 'hoi2' ); $number = 18000.30000000000000; $number = number_format ($number, 2, ',', ''); echo $number; foreach ($arr as $value) { echo $value; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/AIqH0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arr, !1 = $number, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, 18000.3
   11     2        INIT_FCALL                                               'number_format'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 2
          5        SEND_VAL                                                 '%2C'
          6        SEND_VAL                                                 ''
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
   13     9        ECHO                                                     !1
   15    10      > FE_RESET_R                                       $7      !0, ->14
         11    > > FE_FETCH_R                                               $7, !2, ->14
   17    12    >   ECHO                                                     !2
   15    13      > JMP                                                      ->11
         14    >   FE_FREE                                                  $7
   23    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.32 ms | 1399 KiB | 15 Q