3v4l.org

run code in 500+ PHP versions simultaneously
<?php $numberFormatter = new NumberFormatter('bg', 14); echo $numberFormatter->format(1200) . PHP_EOL; $numberFormatter = new NumberFormatter('EN', 14); echo $numberFormatter->format(1200); $numberFormatter = new NumberFormatter('ES', 14); echo $numberFormatter->format(1200);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/16h3f
function name:  (null)
number of ops:  29
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
    9    19        NEW                                                  $10     'NumberFormatter'
         20        SEND_VAL_EX                                                  'ES'
         21        SEND_VAL_EX                                                  14
         22        DO_FCALL                                          0          
         23        ASSIGN                                                       !0, $10
   10    24        INIT_METHOD_CALL                                             !0, 'format'
         25        SEND_VAL_EX                                                  1200
         26        DO_FCALL                                          0  $13     
         27        ECHO                                                         $13
         28      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
180.8 ms | 1457 KiB | 13 Q