3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.49 ms | 1394 KiB | 15 Q