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); // float(10000000) // function var_dump(floatval("1.0E+7")); // float(10000000) // other stuff var_dump(round("1.0E+7")); // float(10000000) var_dump(floor("1.0E+7")); // float(10000000) var_dump(ceil("1.0E+7")); // float(10000000) var_dump(abs("1.0E+7")); // float(10000000) // weird var_dump(unserialize("d:"."1.0E+7".";")); // float(10000000) var_dump(json_decode('1.0E+7')); // float(10000000)
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4uakF
function name:  (null)
number of ops:  48
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        CAST                                          5  ~0      '1.0E%2B7'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    6     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAL                                                 1.0e+7
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'var_dump'
          8        CAST                                          5  ~3      '1.0E%2B7'
          9        SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
   11    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                                                 
   12    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL                                               'floor'
         19        SEND_VAL                                                 '1.0E%2B7'
         20        DO_ICALL                                         $7      
         21        SEND_VAR                                                 $7
         22        DO_ICALL                                                 
   13    23        INIT_FCALL                                               'var_dump'
         24        INIT_FCALL                                               'ceil'
         25        SEND_VAL                                                 '1.0E%2B7'
         26        DO_ICALL                                         $9      
         27        SEND_VAR                                                 $9
         28        DO_ICALL                                                 
   14    29        INIT_FCALL                                               'var_dump'
         30        INIT_FCALL                                               'abs'
         31        SEND_VAL                                                 '1.0E%2B7'
         32        DO_ICALL                                         $11     
         33        SEND_VAR                                                 $11
         34        DO_ICALL                                                 
   17    35        INIT_FCALL                                               'var_dump'
         36        INIT_FCALL                                               'unserialize'
         37        SEND_VAL                                                 'd%3A1.0E%2B7%3B'
         38        DO_ICALL                                         $13     
         39        SEND_VAR                                                 $13
         40        DO_ICALL                                                 
   18    41        INIT_FCALL                                               'var_dump'
         42        INIT_FCALL                                               'json_decode'
         43        SEND_VAL                                                 '1.0E%2B7'
         44        DO_ICALL                                         $15     
         45        SEND_VAR                                                 $15
         46        DO_ICALL                                                 
         47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.59 ms | 1400 KiB | 27 Q