list ($a, $b, $c) = preg_split ("/(\d{4})(\d{2})(\d{2})/");

note the "'s

> list ($a, $b, $c) = preg_split (/(\d{4})(\d{2})(\d{2})/);
>  > parse error, unexpected '/', expecting ')'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to