3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtr(20 / 3 * 1e6, ',', '.') . "\n"; echo strtr(6.66, ',', '.') . "\n"; echo strtr(6.0, ',', '.') . "\n"; echo "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EoT4N
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtr'
          1        SEND_VAL                                                 6.66667e+6
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAL                                                 '.'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      $0, '%0A'
          6        ECHO                                                     ~1
    3     7        INIT_FCALL                                               'strtr'
          8        SEND_VAL                                                 6.66
          9        SEND_VAL                                                 '%2C'
         10        SEND_VAL                                                 '.'
         11        DO_ICALL                                         $2      
         12        CONCAT                                           ~3      $2, '%0A'
         13        ECHO                                                     ~3
    4    14        INIT_FCALL                                               'strtr'
         15        SEND_VAL                                                 6
         16        SEND_VAL                                                 '%2C'
         17        SEND_VAL                                                 '.'
         18        DO_ICALL                                         $4      
         19        CONCAT                                           ~5      $4, '%0A'
         20        ECHO                                                     ~5
    5    21        ECHO                                                     '%0A'
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1395 KiB | 15 Q