<?php
$matches = null;
$returnValue = preg_match('/[<>"//]/', 'meta http-equiv="refresh" content="0; url=http://orba.pl/" />', $matches);
var_dump($returnValue, $matches);
- Output for 7.0.0 - 7.0.25, 7.1.0 - 7.1.33, 7.2.5 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
- Warning: preg_match(): Unknown modifier '/' in /in/au952 on line 4
bool(false)
NULL
preferences:
181.16 ms | 403 KiB | 207 Q