3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberFormatter = new NumberFormatter('bg', 14); echo $numberFormatter->format(1200) . PHP_EOL; $numberFormatter = new NumberFormatter('EN', 14); echo $numberFormatter->format(1200);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/suSMd
function name:  (null)
number of ops:  20
compiled vars:  !0 = $numberFormatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'NumberFormatter'
          1        SEND_VAL_EX                                              'bg'
          2        SEND_VAL_EX                                              14
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
    4     5        INIT_METHOD_CALL                                         !0, 'format'
          6        SEND_VAL_EX                                              1200
          7        DO_FCALL                                      0  $4      
          8        CONCAT                                           ~5      $4, '%0A'
          9        ECHO                                                     ~5
    6    10        NEW                                              $6      'NumberFormatter'
         11        SEND_VAL_EX                                              'EN'
         12        SEND_VAL_EX                                              14
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !0, $6
    7    15        INIT_METHOD_CALL                                         !0, 'format'
         16        SEND_VAL_EX                                              1200
         17        DO_FCALL                                      0  $9      
         18        ECHO                                                     $9
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
230.17 ms | 998 KiB | 13 Q