Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
select version() as Version;
<?php
$subject = 'url?q=helloworld&';
preg_replace_callback_array(
[
'~\u\r\l\?\q\=(.+?)\&' => function ($match) {
echo strlen($match[0]), ' matches for "a" found', PHP_EOL;
}
],
$subject
);