3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberFormatter = new NumberFormatter('cs_CZ', NumberFormatter::TYPE_DOUBLE); echo ((float) $numberFormatter->parse('55.64') / 100.0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7HLSi
function name:  (null)
number of ops:  13
compiled vars:  !0 = $numberFormatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'NumberFormatter'
          1        SEND_VAL_EX                                              'cs_CZ'
          2        FETCH_CLASS_CONSTANT                             ~2      'NumberFormatter', 'TYPE_DOUBLE'
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $1
    3     6        INIT_METHOD_CALL                                         !0, 'parse'
          7        SEND_VAL_EX                                              '55.64'
          8        DO_FCALL                                      0  $5      
          9        CAST                                          5  ~6      $5
         10        DIV                                              ~7      ~6, 100
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.64 ms | 1392 KiB | 13 Q