3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = @preg_match("ascea(", "test"); // invalid regex if($d === FALSE) { print "Error in regex."; // get detailed info if needed with preg_last_error }

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.0100.00718.43
8.3.50.0070.00717.98
8.3.40.0120.00918.78
8.3.30.0060.00918.89
8.3.20.0080.00018.64
8.3.10.0090.00023.73
8.3.00.0040.00420.61
8.2.180.0170.00316.88
8.2.170.0120.00322.96
8.2.160.0070.00719.29
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.01419.77
8.2.120.0040.00426.35
8.2.110.0040.00419.21
8.2.100.0090.00318.03
8.2.90.0060.00318.22
8.2.80.0000.00718.03
8.2.70.0000.00817.63
8.2.60.0070.00018.09
8.2.50.0000.00818.10
8.2.40.0000.00719.41
8.2.30.0070.00019.11
8.2.20.0050.00318.09
8.2.10.0040.00417.92
8.2.00.0080.00017.52
8.1.280.0110.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00022.74
8.1.230.0040.00822.81
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0050.00317.35
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0000.00818.41
8.1.160.0030.00318.88
8.1.150.0030.00518.84
8.1.140.0040.00422.19
8.1.130.0030.00320.04
8.1.120.0040.00417.39
8.1.110.0040.00417.39
8.1.100.0030.00617.38
8.1.90.0040.00417.35
8.1.80.0070.00017.42
8.1.70.0000.00817.48
8.1.60.0070.00417.56
8.1.50.0000.00817.54
8.1.40.0070.00317.53
8.1.30.0040.00417.64
8.1.20.0060.00317.57
8.1.10.0040.00417.41
8.1.00.0000.00717.50
8.0.300.0080.00019.98
8.0.290.0070.00016.75
8.0.280.0080.00018.46
8.0.270.0000.00717.25
8.0.260.0030.00320.22
8.0.250.0030.00316.91
8.0.240.0060.00016.90
8.0.230.0060.00317.02
8.0.220.0060.00316.95
8.0.210.0070.00016.87
8.0.200.0000.00616.96
8.0.190.0000.00716.92
8.0.180.0040.00416.87
8.0.170.0030.00616.88
8.0.160.0040.00417.02
8.0.150.0050.00216.86
8.0.140.0000.00716.92
8.0.130.0060.00013.33
8.0.120.0040.00416.89
8.0.110.0040.00416.88
8.0.100.0040.00416.74
8.0.90.0030.00316.83
8.0.80.0150.00616.83
8.0.70.0040.00416.93
8.0.60.0000.00716.90
8.0.50.0070.00016.81
8.0.30.0100.00817.00
8.0.20.0090.01417.40
8.0.10.0020.00517.13
8.0.00.0110.00716.85
7.4.330.0050.00015.55
7.4.320.0000.00616.60
7.4.300.0070.00016.60
7.4.290.0000.00716.42
7.4.280.0000.00816.54
7.4.270.0070.00016.46
7.4.260.0030.00316.53
7.4.250.0070.00016.60
7.4.240.0030.00316.41
7.4.230.0030.00316.40
7.4.220.0000.00816.35
7.4.210.0110.00716.60
7.4.200.0040.00416.52
7.4.160.0110.01016.44
7.4.140.0130.00717.86
7.4.130.0140.00716.51
7.4.120.0120.00816.49
7.4.110.0150.00916.51
7.4.100.0130.01016.46
7.4.90.0120.00616.49
7.4.80.0070.01019.39
7.4.70.0130.00416.32
7.4.60.0090.00616.48
7.4.50.0090.00616.48
7.4.40.0140.00716.44
7.4.00.0070.01014.87
7.3.330.0000.00513.09
7.3.320.0000.00513.05
7.3.310.0000.00716.30
7.3.300.0030.00316.29
7.3.290.0070.00016.16
7.3.280.0070.00716.21
7.3.260.0120.00916.36
7.3.240.0080.00916.39
7.3.230.0120.00416.59
7.3.210.0080.00816.45
7.3.200.0150.00016.46
7.3.190.0150.00616.41
7.3.180.0140.00316.29
7.3.170.0120.00916.29
7.3.160.0050.01116.41
7.3.120.0070.01314.99
7.3.110.0060.00914.50
7.3.100.0040.00714.82
7.3.90.0120.00414.97
7.3.80.0070.01014.70
7.3.70.0060.00614.67
7.3.60.0040.01114.79
7.3.50.0070.00714.41
7.3.40.0070.00714.56
7.3.30.0030.00614.58
7.3.20.0080.00816.55
7.3.10.0030.01316.78
7.3.00.0100.00016.61
7.2.330.0040.01616.61
7.2.320.0140.00616.67
7.2.310.0120.01216.64
7.2.300.0090.01216.59
7.2.290.0090.00916.54
7.2.250.0120.00714.93
7.2.240.0070.01415.10
7.2.230.0090.00614.87
7.2.220.0030.01014.98
7.2.210.0030.01315.07
7.2.200.0090.00014.95
7.2.190.0060.00914.95
7.2.180.0080.00614.93
7.2.170.0120.00314.81
7.2.110.3890.00714.89
7.2.100.3720.00614.83
7.2.90.4520.00714.57
7.2.80.3250.01314.86
7.2.70.3430.01015.07
7.2.60.0160.01015.11
7.2.50.2360.00315.12
7.2.40.0150.01214.95
7.2.30.0260.00014.83
7.2.20.0120.00615.01
7.2.10.0140.00615.07
7.2.00.0570.00314.71
7.1.330.0060.00915.55
7.1.320.0070.00715.91
7.1.310.0090.00915.82
7.1.300.0030.01015.73
7.1.290.0030.00615.96
7.1.280.0090.00615.74
7.1.270.0000.01515.81
7.1.260.0040.00415.68
7.1.230.4500.00613.80
7.1.220.3840.01013.76
7.1.210.3810.00713.65
7.1.200.4370.00313.55
7.1.190.4580.01013.64
7.1.180.0850.00313.78
7.1.170.0900.01313.63
7.1.160.0310.00313.67
7.1.150.0180.00414.05
7.1.140.0100.01013.83
7.1.130.0860.01113.82
7.1.120.1490.00313.45
7.1.110.0110.00413.69
7.1.100.0530.00013.88
7.1.90.0740.00413.55
7.1.80.0780.00713.76
7.1.70.0250.00713.82
7.1.60.0450.01531.52
7.1.50.0330.01131.92
7.1.40.0890.01431.43
7.1.30.1020.01431.46
7.1.20.0860.01031.24
7.1.10.1490.00313.55
7.1.00.1260.00713.64
5.6.380.0000.01014.16

preferences:
60.15 ms | 400 KiB | 5 Q