3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = NumberFormatter::create('PL', NumberFormatter::DECIMAL); $result = $formatter->format(1090663, NumberFormatter::TYPE_DOUBLE); echo $result . ' = ' . bin2hex($result) . PHP_EOL; echo '1 090 663' . ' = ' . bin2hex('1 090 663') . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B6lck
function name:  (null)
number of ops:  26
compiled vars:  !0 = $formatter, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'NumberFormatter', 'create'
          1        SEND_VAL_EX                                              'PL'
          2        FETCH_CLASS_CONSTANT                             ~2      'NumberFormatter', 'DECIMAL'
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !0, $3
    5     6        INIT_METHOD_CALL                                         !0, 'format'
          7        SEND_VAL_EX                                              1090663
          8        FETCH_CLASS_CONSTANT                             ~5      'NumberFormatter', 'TYPE_DOUBLE'
          9        SEND_VAL_EX                                              ~5
         10        DO_FCALL                                      0  $6      
         11        ASSIGN                                                   !1, $6
    6    12        CONCAT                                           ~8      !1, '+%3D+'
         13        INIT_FCALL                                               'bin2hex'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $9      
         16        CONCAT                                           ~10     ~8, $9
         17        CONCAT                                           ~11     ~10, '%0A'
         18        ECHO                                                     ~11
    7    19        INIT_FCALL                                               'bin2hex'
         20        SEND_VAL                                                 '1+090+663'
         21        DO_ICALL                                         $12     
         22        CONCAT                                           ~13     '1+090+663+%3D+', $12
         23        CONCAT                                           ~14     ~13, '%0A'
         24        ECHO                                                     ~14
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.24 ms | 1395 KiB | 15 Q