3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '<br /> Q.156) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.157) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.158) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.159) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.160) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.161) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> <br /> Q.162) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br /> '; preg_match_all('/Q\..*/', $data, $matches); print_r($matches[0]);
Output for 7.0.0 - 7.0.24, 7.1.0 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Array ( [0] => Q.156) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [1] => Q.157) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [2] => Q.158) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [3] => Q.159) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [4] => Q.160) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [5] => Q.161) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> [6] => Q.162) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br /> )

preferences:
130.93 ms | 405 KiB | 210 Q