3v4l.org

run code in 300+ PHP versions simultaneously
<?php function parseCss($rawText) { $matches = array(); $selections = preg_match_all("/\/\* customize_(.+?) \*\/(.+?)\/\* customize_\1 \*\//",$rawText,&$matches); print_R($matches); } parseCss(' #page #header #logo a { /* customize_header_logo */ color: #ffffff; /* customize_header_logo */ /* customize_header_logo_text */ font: normal bold 32px Arial; /* customize_header_logo_text */ text-decoration:none; }');
Output for 5.4.0 - 5.4.17
Fatal error: Call-time pass-by-reference has been removed in /in/FpO0K on line 5
Process exited with code 255.
Output for 5.3.28 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/VrE8L on line 5 Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) )
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/FpO0K on line 5 Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) )

preferences:
169.34 ms | 1395 KiB | 55 Q