3v4l.org

run code in 300+ PHP versions simultaneously
<?php f$str = "(hello(world)) program"; preg_match_all('/(\(([^()]|(?R))*\))/', $str, $matches); print_r($matches);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0110.05315.57
5.4.250.0020.05015.62
5.4.240.0080.04115.72
5.4.230.0050.05715.62
5.4.220.0070.04715.73
5.4.210.0100.04015.54
5.4.200.0070.05615.67
5.4.190.0080.04215.64
5.4.180.0100.03915.68
5.4.170.0130.05315.60
5.4.160.0070.05315.49
5.4.150.0060.04715.53
5.4.140.0050.04814.15
5.4.130.0110.04114.17
5.4.120.0020.04614.17
5.4.110.0060.04914.22
5.4.100.0100.05114.27
5.4.90.0060.05214.14
5.4.80.0120.04514.19
5.4.70.0070.04114.30
5.4.60.0110.03914.16
5.4.50.0050.04614.19
5.4.40.0060.04714.19
5.4.30.0060.05114.27
5.4.20.0050.05514.24
5.4.10.0120.04114.16
5.4.00.0050.04613.57
5.3.280.0090.05313.59
5.3.270.0050.04613.55
5.3.260.0080.04713.71
5.3.250.0100.04813.51
5.3.240.0050.05113.67
5.3.230.0050.05713.57
5.3.220.0050.05013.64
5.3.210.0070.04913.63
5.3.200.0120.04913.62
5.3.190.0120.04713.58
5.3.180.0070.04313.64
5.3.170.0080.04313.63
5.3.160.0070.04313.66
5.3.150.0080.04213.58
5.3.140.0050.04313.54
5.3.130.0110.04013.54
5.3.120.0080.04413.49
5.3.110.0120.04013.68
5.3.100.0050.04512.93
5.3.90.0050.04512.97
5.3.80.0070.04212.97
5.3.70.0070.05212.97
5.3.60.0050.04412.96
5.3.50.0080.05712.90
5.3.40.0090.04312.98
5.3.30.0040.04812.93
5.3.20.0070.04412.67
5.3.10.0040.04212.65
5.3.00.0040.04512.53
5.2.170.0080.03910.15
5.2.160.0020.04210.19
5.2.150.0050.03710.06
5.2.140.0060.03510.09
5.2.130.0040.03410.06
5.2.120.0080.0409.98
5.2.110.0070.03910.04
5.2.100.0020.03510.11
5.2.90.0040.0449.98
5.2.80.0060.03610.10
5.2.70.0040.03810.04
5.2.60.0020.04010.01
5.2.50.0090.03910.03
5.2.40.0040.03410.07
5.2.30.0050.0469.89
5.2.20.0050.0389.92
5.2.10.0050.0409.96
5.2.00.0060.0339.71
5.1.60.0050.0359.08
5.1.50.0070.0329.13
5.1.40.0070.0338.88
5.1.30.0060.0349.39
5.1.20.0060.0309.40
5.1.10.0030.0369.03
5.1.00.0030.0319.05
5.0.50.0040.0267.68
5.0.40.0040.0287.35
5.0.30.0050.0417.26
5.0.20.0040.0317.24
5.0.10.0050.0247.28
5.0.00.0020.0377.16
4.4.90.0020.0245.48
4.4.80.0020.0215.47
4.4.70.0030.0255.47
4.4.60.0070.0185.47
4.4.50.0060.0215.48
4.4.40.0010.0305.45
4.4.30.0010.0255.47
4.4.20.0020.0195.52
4.4.10.0020.0185.52
4.4.00.0020.0295.47
4.3.110.0020.0205.43
4.3.100.0020.0185.43
4.3.90.0010.0205.41
4.3.80.0040.0335.38
4.3.70.0030.0215.41
4.3.60.0040.0145.41
4.3.50.0020.0215.41
4.3.40.0040.0295.36
4.3.30.0040.0174.73
4.3.20.0030.0234.72
4.3.10.0010.0184.70
4.3.00.0070.0209.25

preferences:
142.11 ms | 1394 KiB | 7 Q