3v4l.org

run code in 300+ PHP versions simultaneously
<?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) print_r($matches);
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'print_r' (T_STRING) in /in/8TbH3 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/8TbH3 on line 10
Process exited with code 255.

preferences:
191.02 ms | 1386 KiB | 65 Q