3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Some minimal or large text 820 some minimal or large descr"; var_export( preg_replace('/\D*\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.0090.01117.84
8.4.120.0060.00322.27
8.4.110.0090.01120.21
8.4.100.0090.00817.77
8.4.90.0110.00017.59
8.4.80.0140.00618.01
8.4.70.0070.01317.86
8.4.60.0150.00619.12
8.4.50.0100.00919.58
8.4.40.0130.00718.75
8.4.30.0120.00820.53
8.4.20.0090.00917.95
8.4.10.0030.00621.92
8.3.260.0100.01116.64
8.3.250.0080.01118.75
8.3.240.0070.01316.73
8.3.230.0090.00916.64
8.3.220.0120.00617.01
8.3.210.0140.00516.69
8.3.200.0060.00516.62
8.3.190.0120.00917.05
8.3.180.0110.00616.80
8.3.170.0090.00920.70
8.3.160.0030.00618.30
8.3.150.0050.01418.95
8.3.140.0000.01516.95
8.3.130.0080.00018.27
8.3.120.0030.00620.48
8.3.110.0040.00416.47
8.3.100.0080.00016.65
8.3.90.0040.00426.77
8.3.80.0030.00616.63
8.3.70.0140.00316.63
8.3.60.0140.00718.29
8.3.50.0090.00620.46
8.3.40.0120.00320.18
8.3.30.0140.00018.50
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0100.00427.12
8.2.290.0090.01018.77
8.2.280.0020.00618.20
8.2.270.0030.00717.05
8.2.260.0070.01018.41
8.2.250.0000.00718.47
8.2.240.0060.00318.86
8.2.230.0040.00420.94
8.2.220.0080.00324.06
8.2.210.0030.00626.77
8.2.200.0040.00418.41
8.2.190.0120.00616.88
8.2.180.0150.00425.92
8.2.170.0120.00922.96
8.2.160.0120.00422.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0070.00627.12
8.2.120.0060.00724.47
8.2.110.0060.00624.66
8.2.100.0100.00623.00
8.2.90.0080.00622.98
8.2.80.0070.00823.50
8.2.70.0080.00522.79
8.2.60.0040.00422.85
8.2.50.0030.00523.06
8.2.40.0030.00523.15
8.2.30.0070.00622.98
8.2.20.0030.01024.49
8.2.10.0050.00723.01
8.2.00.0080.00423.63
8.1.330.0130.00616.42
8.1.320.0150.00616.40
8.1.310.0100.00718.68
8.1.300.0030.00618.44
8.1.290.0080.00030.84
8.1.280.0120.00325.92
8.1.270.0050.00324.66
8.1.260.0090.00727.22
8.1.250.0070.00128.09
8.1.240.0030.00523.68
8.1.230.0060.00423.78
8.1.220.0050.00322.91
8.1.210.0060.00323.43
8.1.200.0060.00322.67
8.1.190.0010.00722.54
8.1.180.0040.00423.09
8.1.170.0050.00322.85
8.1.160.0070.00123.42
8.1.150.0060.00123.42
8.1.140.0050.00322.76
8.1.130.0060.00224.46
8.1.120.0060.00222.81
8.1.110.0040.00422.78
8.1.100.0020.00622.76
8.1.90.0020.00722.81
8.1.80.0040.00422.77
8.1.70.0050.00322.74
8.1.60.0070.00122.87
8.1.50.0040.00422.81
8.1.40.0060.00122.80
8.1.30.0020.00622.91
8.1.20.0030.00522.90
8.1.10.0070.00122.84
8.1.00.0040.00422.77
8.0.300.0060.00223.43
8.0.290.0060.00222.48
8.0.280.0040.00423.21
8.0.270.0050.00223.10
8.0.260.0050.00323.17
8.0.250.0040.00322.51
8.0.240.0060.00322.54
8.0.230.0040.00322.58
8.0.220.0010.00622.52
8.0.210.0040.00422.53
8.0.200.0080.00022.56
8.0.190.0070.00022.52
8.0.180.0050.00222.52
8.0.170.0020.00622.52
8.0.160.0060.00222.47
8.0.150.0060.00222.49
8.0.140.0020.00722.52
8.0.130.0080.00022.43
8.0.120.0040.00322.55
8.0.110.0020.00622.49
8.0.100.0060.00222.43
8.0.90.0010.00722.45
8.0.80.0070.00222.49
8.0.70.0070.00222.49
8.0.60.0060.00422.50
8.0.50.0060.00622.51
8.0.30.0010.00622.43
8.0.20.0040.00522.52
8.0.10.0040.00522.54
7.4.330.0060.00521.82
7.4.320.0070.00522.37
7.4.300.0110.00222.36
7.4.290.0100.00322.36
7.4.280.0070.00622.24
7.4.270.0080.00822.40
7.4.260.0170.00422.34
7.4.250.0110.00522.28
7.4.240.0100.00722.35
7.4.230.0180.00522.32
7.4.220.0170.00422.27
7.4.210.0160.00622.24
7.4.200.0160.00622.40
7.4.190.0160.00622.31
7.4.180.0120.00722.33
7.4.160.0140.00822.25
7.4.150.0100.01022.40
7.4.140.0150.00422.38
7.4.130.0100.00522.26
7.4.120.0130.00022.35
7.4.110.0100.00222.24
7.4.100.0110.00122.42
7.4.90.0090.00322.40
7.4.80.0070.00522.28
7.4.70.0110.00022.37
7.4.60.0120.00222.35
7.4.50.0110.00122.29
7.4.40.0100.00322.05
7.4.30.0070.00722.14
7.4.20.0110.00122.31
7.4.10.0040.00822.20
7.4.00.0060.00622.31
5.2.90.0050.00826.77

preferences:
35.55 ms | 403 KiB | 5 Q