3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.47 ms | 1451 KiB | 14 Q