3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(filter_var(3000.10, FILTER_VALIDATE_REGEXP,array("options"=>array("regexp"=>"/^([1-9][0-9]*|[0-9])(\.[0-9]{2})?$/"))));
based on 0Pl9c
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/p8nJj
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'filter_var'
         2        SEND_VAL                                                 3000.1
         3        SEND_VAL                                                 272
         4        SEND_VAL                                                 <array>
         5        DO_ICALL                                         $0      
         6        SEND_VAR                                                 $0
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0