3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match('/before_paragraph/', 'content.stuff.0.before_paragraph');

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.0110.00316.50
8.3.50.0100.00718.28
8.3.40.0000.01518.80
8.3.30.0060.00918.79
8.3.20.0040.00419.01
8.3.10.0040.00421.89
8.3.00.0070.00020.77
8.2.180.0120.00316.36
8.2.170.0140.00022.96
8.2.160.0090.00621.18
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00022.18
8.2.120.0030.00526.35
8.2.110.0060.00322.38
8.2.100.0110.00017.91
8.2.90.0030.00519.07
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0030.00617.79
8.2.50.0040.00418.10
8.2.40.0000.00822.25
8.2.30.0000.00719.25
8.2.20.0040.00417.79
8.2.10.0040.00418.07
8.2.00.0070.00017.92
8.1.280.0110.00725.92
8.1.270.0000.00823.79
8.1.260.0040.00428.09
8.1.250.0030.00628.09
8.1.240.0090.00019.21
8.1.230.0110.00017.45
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0050.00318.65
8.1.160.0000.00822.15
8.1.150.0040.00418.79
8.1.140.0000.00719.46
8.1.130.0000.00717.50
8.1.120.0000.00817.36
8.1.110.0040.00417.50
8.1.100.0080.00017.50
8.1.90.0040.00417.46
8.1.80.0000.00717.42
8.1.70.0030.00317.43
8.1.60.0060.00317.50
8.1.50.0030.00617.57
8.1.40.0040.00717.41
8.1.30.0060.00317.68
8.1.20.0050.00217.65
8.1.10.0030.00617.47
8.1.00.0000.00817.48
8.0.300.0030.00618.77
8.0.290.0000.00716.75
8.0.280.0030.00318.39
8.0.270.0070.00017.11
8.0.260.0060.00017.21
8.0.250.0030.00317.03
8.0.240.0000.00716.99
8.0.230.0030.00316.88
8.0.220.0000.00816.79
8.0.210.0070.00016.89
8.0.200.0000.00616.99
8.0.190.0050.00316.91
8.0.180.0080.00016.85
8.0.170.0030.00616.82
8.0.160.0070.00016.92
8.0.150.0000.00716.86
8.0.140.0050.00316.84
8.0.130.0050.00013.32
8.0.120.0000.00816.87
8.0.110.0040.00416.79
8.0.100.0040.00416.71
8.0.90.0000.00716.93
8.0.80.0100.00716.93
8.0.70.0070.00016.89
8.0.60.0030.00516.80
8.0.50.0030.00516.79
8.0.30.0070.01217.18
8.0.20.0110.00717.40
8.0.10.0020.00517.02
8.0.00.0090.00916.82
7.4.330.0000.00515.08
7.4.320.0000.00616.43
7.4.300.0030.00316.66
7.4.290.0080.00016.66
7.4.280.0000.00816.57
7.4.270.0000.00716.58
7.4.260.0030.00316.63
7.4.250.0070.00016.43
7.4.240.0000.00816.66
7.4.230.0000.00716.79
7.4.220.0190.01116.41
7.4.210.0100.01016.54
7.4.200.0030.00316.66
7.4.160.0100.00916.66
7.4.150.0150.00417.40
7.4.140.0100.01017.86
7.4.130.0130.00516.37
7.4.120.0100.00716.73
7.4.110.0130.00316.61
7.4.100.0100.00716.62
7.4.90.0120.00616.43
7.4.80.0070.01019.39
7.4.70.0110.00616.65
7.4.60.0110.01116.30
7.4.50.0070.01016.46
7.4.40.0120.01316.47
7.4.30.0040.01216.63
7.4.00.0080.00915.00
7.3.330.0030.00313.12
7.3.320.0060.00013.19
7.3.310.0060.00316.31
7.3.300.0070.00016.08
7.3.290.0090.00716.26
7.3.280.0060.00916.30
7.3.270.0100.00617.40
7.3.260.0100.00616.38
7.3.250.0120.00616.45
7.3.240.0100.00616.72
7.3.230.0090.00916.43
7.3.210.0100.00716.21
7.3.200.0100.00616.35
7.3.190.0070.01616.57
7.3.180.0160.00016.55
7.3.170.0060.01316.74
7.3.160.0060.01616.37
7.3.120.0070.01214.90
7.3.110.0030.01414.78
7.3.100.0080.00614.85
7.3.90.0090.00714.88
7.3.80.0050.00714.88
7.3.70.0060.00614.83
7.3.60.0060.00714.67
7.3.50.0100.00515.00
7.3.40.0070.00714.78
7.3.30.0050.00814.76
7.3.20.0060.00916.69
7.3.10.0060.00916.71
7.3.00.0090.00516.64
7.2.330.0070.01016.50
7.2.320.0140.00416.60
7.2.310.0140.00416.85
7.2.300.0070.01016.75
7.2.290.0100.00716.71
7.2.250.0070.01015.21
7.2.240.0070.01214.93
7.2.230.0060.01214.76
7.2.220.0060.00815.07
7.2.210.0030.01115.10
7.2.200.0060.00714.80
7.2.190.0030.01015.03
7.2.180.0050.01314.94
7.2.170.0050.00815.16
7.2.80.0070.00316.71
7.2.60.0060.00617.03
7.2.00.0040.00819.68
7.1.330.0060.00815.74
7.1.320.0080.00415.61
7.1.310.0070.00815.93
7.1.300.0030.01115.81
7.1.290.0050.00815.72
7.1.280.0060.00915.71
7.1.270.0030.00915.78
7.1.260.0020.00815.78
7.1.200.0180.00715.50
7.1.100.0090.00617.98
7.1.70.0060.00617.25
7.1.60.0030.01017.28
7.1.00.0070.07322.32
7.0.200.0070.01016.91
7.0.100.0170.05019.94
7.0.90.0400.05320.01
7.0.80.0130.06319.98
7.0.70.0200.04720.02
7.0.60.0130.05320.02
7.0.50.0200.05020.39
7.0.40.0070.08020.31
7.0.30.0130.05720.44
7.0.20.0030.06320.33
7.0.10.0030.06020.33
7.0.00.0070.06020.30
5.6.250.0030.06020.75
5.6.240.0170.05020.80
5.6.230.0130.07320.65
5.6.220.0200.04320.62
5.6.210.0070.06020.66
5.6.200.0070.07321.20
5.6.190.0370.06721.09
5.6.180.0130.05021.09
5.6.170.0100.05321.13
5.6.160.0100.07321.07
5.6.150.0130.05721.10
5.6.140.0100.05321.13
5.6.130.0070.06021.16
5.6.120.0130.05321.07
5.6.110.0200.06721.08
5.6.100.0170.05021.15
5.6.90.0100.05721.11
5.6.80.0070.06320.55
5.6.70.0130.06320.50
5.6.60.0170.04720.35
5.6.50.0170.05720.39
5.6.40.0100.06720.52
5.6.30.0100.05320.44
5.6.20.0070.06020.54
5.6.10.0070.05720.52
5.6.00.0170.05320.53

preferences:
60.88 ms | 401 KiB | 5 Q