3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Some minimal 111 or large text 820 some minimal or large descr"; var_export( preg_replace('/.*\d+ */', '', $string) );

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.4.130.0070.00317.87
8.4.120.0040.00620.76
8.4.110.0030.00522.36
8.4.100.0160.00517.91
8.4.90.0110.00922.46
8.4.80.0070.00417.95
8.4.70.0130.00618.39
8.4.60.0100.01118.44
8.4.50.0090.00820.13
8.4.40.0000.01018.87
8.4.30.0130.00620.36
8.4.20.0000.00818.14
8.4.10.0090.00022.20
8.3.260.0100.01016.32
8.3.250.0160.00320.79
8.3.240.0050.00316.46
8.3.230.0110.00916.74
8.3.220.0130.00517.20
8.3.210.0050.00316.62
8.3.200.0140.00716.41
8.3.190.0050.00418.88
8.3.180.0090.01018.54
8.3.170.0100.00916.93
8.3.160.0090.00920.04
8.3.150.0110.00716.73
8.3.140.0040.00417.10
8.3.130.0060.00916.75
8.3.120.0000.00920.45
8.3.110.0060.00316.55
8.3.100.0030.00616.77
8.3.90.0040.00426.77
8.3.80.0030.00616.75
8.3.70.0060.00916.75
8.3.60.0130.00718.32
8.3.50.0100.01020.21
8.3.40.0070.00720.34
8.3.30.0070.00718.70
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0130.00520.39
8.2.280.0150.00418.30
8.2.270.0080.00017.23
8.2.260.0060.00316.63
8.2.250.0080.00016.58
8.2.240.0130.00318.40
8.2.230.0090.00020.94
8.2.220.0060.00324.06
8.2.210.0000.00826.77
8.2.200.0090.00016.38
8.2.190.0110.00716.58
8.2.180.0100.00725.92
8.2.170.0040.01122.96
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0070.01319.27
8.2.100.0000.01017.91
8.2.90.0040.00419.17
8.2.80.0050.00517.97
8.2.70.0080.00017.59
8.2.60.0030.00617.60
8.2.50.0050.00318.04
8.2.40.0070.00018.03
8.2.30.0020.00517.92
8.2.20.0040.00421.00
8.2.10.0040.00417.90
8.2.00.0100.00019.07
8.1.330.0120.00621.70
8.1.320.0100.00916.10
8.1.310.0140.00318.52
8.1.300.0060.00317.92
8.1.290.0060.00330.84
8.1.280.0200.00025.92
8.1.270.0080.00024.66
8.1.260.0060.00326.35
8.1.250.0020.00528.09
8.1.240.0060.00321.95
8.1.230.0040.00720.97
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00517.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0050.00318.84
8.1.150.0070.00018.71
8.1.140.0070.00017.52
8.1.130.0000.00718.90
8.1.120.0040.00417.43
8.1.110.0040.00417.46
8.1.100.0030.00317.49
8.1.90.0140.00317.44
8.1.80.0110.00417.47
8.1.70.0050.01117.39
8.1.60.0140.00317.67
8.1.50.0170.00017.58
8.1.40.0150.00417.52
8.1.30.0140.00317.54
8.1.20.0060.00917.68
8.1.10.0080.00617.60
8.1.00.0070.00717.56
8.0.300.0050.00219.83
8.0.290.0030.00616.88
8.0.280.0000.00718.32
8.0.270.0000.00716.83
8.0.260.0000.00818.39
8.0.250.0030.00316.91
8.0.240.0040.00416.90
8.0.230.0030.00317.00
8.0.220.0060.00316.83
8.0.210.0060.00616.93
8.0.200.0070.00716.89
8.0.190.0160.00016.98
8.0.180.0120.00416.93
8.0.170.0060.00716.96
8.0.160.0140.00016.90
8.0.150.0100.00716.87
8.0.140.0100.00616.80
8.0.130.0080.00816.88
8.0.120.0090.00916.96
8.0.110.0120.00416.92
8.0.100.0090.00616.74
8.0.90.0130.00216.98
8.0.80.0160.00016.87
8.0.70.0100.00616.90
8.0.60.0100.00416.98
8.0.50.0100.00516.97
8.0.30.0120.00316.79
8.0.20.0110.00517.00
8.0.10.0150.00317.00
7.4.330.0020.00215.55
7.4.320.0060.00016.66
7.4.300.0080.00816.71
7.4.290.0150.00316.70
7.4.280.0100.00716.54
7.4.270.0110.00616.76
7.4.260.0150.00016.70
7.4.250.0120.00316.68
7.4.240.0110.00616.70
7.4.230.0090.00916.76
7.4.220.0090.00616.73
7.4.210.0080.00516.57
7.4.200.0120.00316.61
7.4.190.0120.00016.78
7.4.180.0110.00416.63
7.4.160.0100.00216.73
7.4.150.0090.00316.51
7.4.140.0000.00716.74
7.4.130.0040.00816.50
7.4.120.0080.00516.59
7.4.110.0060.00616.57
7.4.100.0100.00516.64
7.4.90.0100.00016.62
7.4.80.0090.00316.57
7.4.70.0120.00016.66
7.4.60.0080.00816.67
7.4.50.0090.00416.52
7.4.40.0060.00816.44
7.4.30.0090.00616.54
7.4.20.0070.00716.57
7.4.10.0060.00616.52
7.4.00.0140.00016.63
5.2.90.0100.00626.77

preferences:
28.77 ms | 403 KiB | 5 Q