<?php
$title = 'Peugeot 107'
$patterns = array('107', '108', '207', '208', '2008', '308', '3008', '508', '5008 SW' );
echo preg_replace('/(\d+)/i', '<span class="h1firstword">$1</span>', $title); ?>
- Output for 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected '$patterns' (T_VARIABLE) in /in/W4FbF on line 3
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_VARIABLE in /in/W4FbF on line 3
Process exited with code 255.
preferences:
186.11 ms | 1395 KiB | 67 Q