3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "WALIOFANYA MTIHANI : 70 WASTANI WA SHULE : 138.2571 NAFASI YA SHULE KIWILAYA: 25 kati ya 125 NAFASI YA SHULE KIMKOA : 117 kati ya 571 NAFASI YA SHULE KITAIFA : 1249 kati ya 15656 "; preg_match_all('/\((\d+(?:\.\d+)?)\)/', $string, $matches) var_dump($matches[1]);
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/14WS9 on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/14WS9 on line 10
Process exited with code 255.