3v4l.org

run code in 300+ PHP versions simultaneously
<?php (number_format(1e80, 0, '', ' ')); (number_format(1e300, 0, '', ' ')); (number_format(1e320, 0, '', ' ')); echo strlen($a) . "\n"; echo 4; number_format(1e1000, 0, '', ' '); echo "Done\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Z5F8
function name:  (null)
number of ops:  30
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'number_format'
          1        SEND_VAL                                                 1.0e+80
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 ''
          4        SEND_VAL                                                 '+'
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'number_format'
          7        SEND_VAL                                                 1.0e+300
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 ''
         10        SEND_VAL                                                 '+'
         11        DO_ICALL                                                 
    4    12        INIT_FCALL                                               'number_format'
         13        SEND_VAL                                                 INF
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 ''
         16        SEND_VAL                                                 '+'
         17        DO_ICALL                                                 
    5    18        STRLEN                                           ~4      !0
         19        CONCAT                                           ~5      ~4, '%0A'
         20        ECHO                                                     ~5
    6    21        ECHO                                                     4
    7    22        INIT_FCALL                                               'number_format'
         23        SEND_VAL                                                 INF
         24        SEND_VAL                                                 0
         25        SEND_VAL                                                 ''
         26        SEND_VAL                                                 '+'
         27        DO_ICALL                                                 
    9    28        ECHO                                                     'Done%0A'
   10    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.34 ms | 1387 KiB | 15 Q