3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '$123,34.00A'; $reg = "/\D[.,]\D/"; print preg_match($reg,$var); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GnehD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $var, !1 = $reg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%24123%2C34.00A'
    4     1        ASSIGN                                                   !1, '%2F%5CD%5B.%2C%5D%5CD%2F'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    6     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.44 ms | 1394 KiB | 15 Q