3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "Idstatus"; $pattern = '/^id/'; preg_match($pattern, substr($subject,3), $matches, PREG_OFFSET_CAPTURE); 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)
8.3.60.0130.00716.63
8.3.50.0290.00722.17
8.3.40.0120.00318.65
8.3.30.0040.01118.84
8.3.20.0110.00420.39
8.3.10.0080.00021.91
8.3.00.0040.00422.39
8.2.180.0060.01218.41
8.2.170.0080.00622.96
8.2.160.0100.00319.16
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00422.08
8.2.120.0080.00026.35
8.2.110.0000.00922.20
8.2.100.0110.00017.84
8.2.90.0040.00418.03
8.2.80.0050.00519.03
8.2.70.0040.00417.63
8.2.60.0030.00617.90
8.2.50.0050.00318.10
8.2.40.0000.00822.29
8.2.30.0000.00719.13
8.2.20.0020.00517.66
8.2.10.0050.00218.01
8.2.00.0030.00717.62
8.1.280.0100.01025.92
8.1.270.0040.00423.87
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0100.01022.16
8.1.230.0040.00720.96
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0080.00017.53
8.1.180.0030.00518.10
8.1.170.0040.00418.59
8.1.160.0070.00022.15
8.1.150.0020.00518.79
8.1.140.0070.00019.50
8.1.130.0030.00317.68
8.1.120.0070.00017.47
8.1.110.0040.00417.35
8.1.100.0000.00717.42
8.1.90.0070.00017.52
8.1.80.0040.00417.43
8.1.70.0000.00717.52
8.1.60.0030.00617.58
8.1.50.0030.00517.50
8.1.40.0000.00917.58
8.1.30.0040.00417.62
8.1.20.0040.00417.55
8.1.10.0050.00217.69
8.1.00.0070.00017.58
8.0.300.0000.00720.04
8.0.290.0040.00416.75
8.0.280.0000.00718.44
8.0.270.0090.00017.26
8.0.260.0060.00017.27
8.0.250.0040.00417.00
8.0.240.0070.00017.02
8.0.230.0060.00317.00
8.0.220.0080.00017.00
8.0.210.0000.00716.96
8.0.200.0000.00916.98
8.0.190.0030.00316.89
8.0.180.0040.00416.99
8.0.170.0000.00817.00
8.0.160.0040.00416.95
8.0.150.0030.00316.96
8.0.140.0070.00016.84
8.0.130.0030.00313.44
8.0.120.0040.00416.97
8.0.110.0000.00716.98
8.0.100.0030.00517.00
8.0.90.0000.00716.98
8.0.80.0090.00617.01
8.0.70.0040.00416.83
8.0.60.0050.00316.94
8.0.50.0080.00017.02
8.0.30.0120.00917.19
8.0.20.0090.00917.40
8.0.10.0050.00317.08
8.0.00.0100.00616.83
7.4.330.0060.00615.08
7.4.320.0060.00016.64
7.4.300.0040.00416.53
7.4.290.0040.00416.68
7.4.280.0080.00516.61
7.4.270.0000.00816.64
7.4.260.0000.00716.73
7.4.250.0040.00416.61
7.4.240.0040.00416.54
7.4.230.0030.00316.48
7.4.220.0120.01816.57
7.4.210.0150.00616.58
7.4.200.0030.00316.76
7.4.160.0070.00916.59
7.4.150.0060.01217.40
7.4.140.0090.00817.86
7.4.130.0080.00916.54
7.4.120.0090.00916.78
7.4.110.0070.01416.44
7.4.100.0030.01516.37
7.4.90.0120.00616.47
7.4.80.0150.00919.39
7.4.70.0100.01016.61
7.4.60.0140.00816.80
7.4.50.0060.00616.66
7.4.40.0040.01216.58
7.4.30.0030.01216.66
7.4.00.0040.00715.04
7.3.330.0050.00013.02
7.3.320.0030.00313.20
7.3.310.0060.00016.12
7.3.300.0000.00616.26
7.3.290.0090.00916.26
7.3.280.0090.01016.28
7.3.270.0110.00717.40
7.3.260.0140.00716.52
7.3.250.0120.00816.41
7.3.240.0060.01116.48
7.3.230.0120.00416.39
7.3.210.0030.01516.52
7.3.200.0090.00916.47
7.3.190.0130.01016.57
7.3.180.0120.00916.50
7.3.170.0140.00416.28
7.3.160.0160.00716.66
7.2.330.0090.00916.58
7.2.320.0110.00616.63
7.2.310.0130.00616.45
7.2.300.0130.00316.43
7.2.290.0070.01016.71
7.2.110.0000.01516.47
7.2.60.0090.00416.95
7.2.50.0090.00616.83
7.1.200.0020.00516.02
7.1.70.0060.00617.26
7.1.60.0130.01017.39
7.1.00.0030.07722.52
7.0.200.0290.00614.57
7.0.100.3030.05020.14
7.0.90.0270.06719.94
7.0.80.0070.06020.21
7.0.70.0300.04019.88
7.0.60.0070.06319.84
7.0.50.0100.06020.44
7.0.40.0200.05020.25
7.0.30.0130.06320.34
7.0.20.0230.05020.35
7.0.10.0270.05320.31
7.0.00.0130.07020.38
5.6.250.0170.04720.69
5.6.240.0200.04720.60
5.6.230.0100.07720.57
5.6.220.0100.05320.61
5.6.210.0170.04720.72
5.6.200.0130.05721.18
5.6.190.0200.05021.02
5.6.180.0100.05721.20
5.6.170.0100.05721.05
5.6.160.0170.05021.11
5.6.150.0200.05021.16
5.6.140.0130.05021.05
5.6.130.0170.05321.02
5.6.120.0100.06021.11
5.6.110.0100.06321.07
5.6.100.0100.05321.16
5.6.90.0070.05721.18
5.6.80.0000.06320.47
5.6.70.0130.04720.55
5.6.60.0070.05720.52
5.6.50.0130.05020.44
5.6.40.0100.05320.33
5.6.30.0100.05320.39
5.6.20.0030.07020.49
5.6.10.0070.05720.53
5.6.00.0070.05720.40

preferences:
62.38 ms | 401 KiB | 5 Q