3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if( bccomp( 12.498500003 , 12.49850011 , 4 ) === 0 ) { echo 'works'; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
Jump found. Position 1 = -2
Branch analysis from position: 8
filename:       /in/6EFP8
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL_BY_NAME                                       'bccomp'
         1        SEND_VAL_EX                                              12.4985
         2        SEND_VAL_EX                                              12.4985
         3        SEND_VAL_EX                                              4
         4        DO_FCALL                                      0  $0      
         5        IS_IDENTICAL                                     ~1      $0, 0
         6      > JMPZ                                                     ~1, ->8
   4     7    >   ECHO                                                     'works'
         8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0