3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.18 ms | 1385 KiB | 15 Q