3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "685484585478488466"; echo $text = intval($text); echo "\n"; $text = number_format($text, 0, ".", ""); echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/foKs5
function name:  (null)
number of ops:  14
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '685484585478488466'
    4     1        CAST                                          4  ~2      !0
          2        ASSIGN                                           ~3      !0, ~2
          3        ECHO                                                     ~3
    5     4        ECHO                                                     '%0A'
    6     5        INIT_FCALL                                               'number_format'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 '.'
          9        SEND_VAL                                                 ''
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    7    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.47 ms | 1394 KiB | 15 Q