3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (int)(('0.1' + '0.7') * '10')."\n"; echo bcAdd('0.1','0.7',1);
based on dQYem
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/8Z4ji
function name:  (null)
number of ops:  10
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   CAST                                          4  ~0      8
         1        CONCAT                                           ~1      ~0, '%0A'
         2        ECHO                                                     ~1
   5     3        INIT_FCALL_BY_NAME                                       'bcAdd'
         4        SEND_VAL_EX                                              '0.1'
         5        SEND_VAL_EX                                              '0.7'
         6        SEND_VAL_EX                                              1
         7        DO_FCALL                                      0  $2      
         8        ECHO                                                     $2
         9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0