3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "hogehoge\n\n※限定生産\n製品情報hogehoge"; $text = preg_replace('/.?限定生産.*$/u', '', $text); var_dump($text);

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.0150.00018.56
8.3.50.0030.01522.00
8.3.40.0140.00018.84
8.3.30.0000.01518.67
8.3.20.0070.00020.33
8.3.10.0020.00521.90
8.3.00.0000.00819.25
8.2.180.0110.00716.88
8.2.170.0000.01822.96
8.2.160.0210.00019.27
8.2.150.0080.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00021.12
8.2.120.0040.00426.35
8.2.110.0030.00622.37
8.2.100.0000.01117.84
8.2.90.0000.00917.80
8.2.80.0000.00817.97
8.2.70.0000.00817.88
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0000.00820.48
8.2.30.0060.00320.88
8.2.20.0000.00817.70
8.2.10.0050.00318.14
8.2.00.0050.00217.98
8.1.280.0000.01725.92
8.1.270.0030.00523.97
8.1.260.0050.00228.09
8.1.250.0040.00428.09
8.1.240.0090.00022.66
8.1.230.0000.01220.89
8.1.220.0040.00417.74
8.1.210.0050.00518.82
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0080.00018.63
8.1.160.0040.00422.16
8.1.150.0000.00718.84
8.1.140.0040.00419.45
8.1.130.0000.00717.66
8.1.120.0040.00417.54
8.1.110.0060.00317.52
8.1.100.0040.00417.52
8.1.90.0040.00417.43
8.1.80.0000.00717.54
8.1.70.0040.00417.53
8.1.60.0000.00717.63
8.1.50.0040.00417.59
8.1.40.0040.00417.60
8.1.30.0080.00017.65
8.1.20.0040.00417.63
8.1.10.0060.00317.62
8.1.00.0000.00917.51
8.0.300.0040.00419.98
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0000.00717.12
8.0.260.0090.00017.19
8.0.250.0000.00717.11
8.0.240.0030.00317.09
8.0.230.0020.00517.05
8.0.220.0040.00416.97
8.0.210.0000.00816.92
8.0.200.0060.00017.05
8.0.190.0040.00417.05
8.0.180.0040.00416.96
8.0.170.0100.00317.09
8.0.160.0040.00317.06
8.0.150.0030.00316.88
8.0.140.0000.00716.95
8.0.130.0040.00413.40
8.0.120.0040.00416.89
8.0.110.0040.00416.96
8.0.100.0000.00716.89
8.0.90.0040.00416.88
8.0.80.0030.01416.96
8.0.70.0070.00016.85
8.0.60.0020.00516.85
8.0.50.0070.00017.08
8.0.30.0140.00617.14
8.0.20.0150.00717.40
8.0.10.0030.00516.98
8.0.00.0120.00916.96
7.4.330.0020.00215.16
7.4.320.0000.00716.65
7.4.300.0000.00716.64
7.4.290.0030.00316.74
7.4.280.0040.00416.74
7.4.270.0070.00016.66
7.4.260.0000.00716.63
7.4.250.0030.00616.72
7.4.240.0040.00416.77
7.4.230.0000.00716.55
7.4.220.0000.01916.76
7.4.210.0000.01516.75
7.4.200.0000.00716.50
7.4.160.0080.00816.54
7.4.150.0110.00617.40
7.4.140.0100.01417.86
7.4.130.0070.00916.61
7.4.120.0140.00616.51
7.4.110.0120.00916.71
7.4.100.0060.00916.66
7.4.90.0060.01016.57
7.4.80.0130.01019.39
7.4.70.0140.00816.46
7.4.60.0140.00616.79
7.4.50.0140.00016.50
7.4.40.0130.00316.64
7.4.30.0180.00316.68
7.4.00.0070.00715.19
7.3.330.0030.00313.25
7.3.320.0030.00313.09
7.3.310.0030.00316.22
7.3.300.0000.00616.18
7.3.290.0090.00616.34
7.3.280.0070.00916.33
7.3.270.0070.01017.40
7.3.260.0060.01516.58
7.3.250.0080.00916.44
7.3.240.0070.01016.45
7.3.230.0070.01116.39
7.3.210.0060.01016.59
7.3.200.0080.00816.69
7.3.190.0060.01216.38
7.3.180.0090.00916.32
7.3.170.0120.00916.63
7.3.160.0120.00316.56
7.3.10.0160.00516.68
7.3.00.0180.00616.70
7.2.330.0060.01116.61
7.2.320.0100.00716.59
7.2.310.0100.00716.60
7.2.300.0070.01016.62
7.2.290.0030.01416.64
7.2.130.0220.00616.77
7.2.120.0220.01516.75
7.2.110.0190.01016.96
7.2.100.0180.00716.68
7.2.90.0160.01216.83
7.2.80.0190.00816.75
7.2.70.0160.01216.80
7.2.60.0120.00816.69
7.2.50.0120.00816.70
7.2.40.0180.00916.74
7.2.30.0160.00816.86
7.2.20.0140.00716.72
7.2.10.0130.00316.78
7.2.00.0090.00817.82
7.1.250.0150.00815.76
7.1.200.0110.00015.61
7.1.70.0100.00317.32
7.1.60.0070.00417.41
7.1.00.0030.07722.32
7.0.200.0030.01516.86
7.0.100.0070.07019.90
7.0.90.0030.08019.98
7.0.80.0030.08319.89
7.0.70.0100.07719.95
7.0.60.0000.07019.93
7.0.50.0130.06020.26
7.0.40.0030.08720.00
7.0.30.0030.08720.13
7.0.20.0070.06320.10
7.0.10.0070.08020.07
7.0.00.0030.09020.06
5.6.250.0070.07720.72
5.6.240.0030.08320.67
5.6.230.0000.08020.53
5.6.220.0030.08020.50
5.6.210.0200.05720.74
5.6.200.0130.07321.08
5.6.190.0100.08321.17
5.6.180.0070.05321.00
5.6.170.0000.08321.12
5.6.160.0100.03720.96
5.6.150.0030.08020.93
5.6.140.0070.08021.08
5.6.130.0070.08321.00
5.6.120.0070.08021.08
5.6.110.0130.07321.12
5.6.100.0070.08321.08
5.6.90.0130.07321.00
5.6.80.0100.07320.55
5.6.70.0000.08720.39
5.6.60.0130.07720.38
5.6.50.0070.06320.43
5.6.40.0000.04720.46
5.6.30.0100.07020.46
5.6.20.0030.08720.46
5.6.10.0070.07720.44
5.6.00.0170.07320.29
5.5.380.0130.07020.40

preferences:
60.66 ms | 401 KiB | 5 Q