3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = floatval(ereg_replace("[^-0-9\.]","", '2,32')); echo $output ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/77ed6
function name:  (null)
number of ops:  9
compiled vars:  !0 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'ereg_replace'
          1        SEND_VAL_EX                                              '%5B%5E-0-9%5C.%5D'
          2        SEND_VAL_EX                                              ''
          3        SEND_VAL_EX                                              '2%2C32'
          4        DO_FCALL                                      0  $1      
          5        CAST                                          5  ~2      $1
          6        ASSIGN                                                   !0, ~2
    5     7        ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.33 ms | 1392 KiB | 13 Q