3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '3.2e3'; $a++; var_dump($a); var_dump(1.8e307); $a = 5/2; echo (float)(string)$a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1cKA2
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '3.2e3'
    4     1        PRE_INC                                                  !0
    5     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 1.8e+307
          7        DO_ICALL                                                 
    7     8        ASSIGN                                                   !0, 2.5
    8     9        CAST                                          6  ~6      !0
         10        CAST                                          5  ~7      ~6
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.44 ms | 1394 KiB | 15 Q