3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prices = explode('-', '13-123-13'); foreach((array) $prices as &$price) { $price = number_format($price / $euro, 2); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 126) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/YglL6
function name:  (null)
number of ops:  17
compiled vars:  !0 = $prices, !1 = $price, !2 = $euro
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '-'
          2        SEND_VAL                                                 '13-123-13'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        CAST                                          7  ~5      !0
          6      > FE_RESET_RW                                      $6      ~5, ->15
          7    > > FE_FETCH_RW                                              $6, !1, ->15
    5     8    >   INIT_FCALL                                               'number_format'
          9        DIV                                              ~7      !1, !2
         10        SEND_VAL                                                 ~7
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $8      
         13        ASSIGN                                                   !1, $8
    4    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $6
    6    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1386 KiB | 17 Q