3v4l.org

run code in 300+ PHP versions simultaneously
<?php // type casting var_dump((float) "1.0E+7"); // float(10000000) // type juggling var_dump("1.0E+7" + 0.0); // function var_dump(floatval("1.0E+7")); var_dump(round("1.0E+7"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dmSbc
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        CAST                                          5  ~0      '1.0E%2B7'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAL                                                 1.0e+7
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        CAST                                          5  ~3      '1.0E%2B7'
          9        SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'round'
         13        SEND_VAL                                                 '1.0E%2B7'
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.02 ms | 1394 KiB | 17 Q