3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tags = "2b, cute, hot boobs, sexy girl, sexy,nice, black box , hello"; $tags = preg_replace('\s*,\s*/u', ',', $tags); echo $tags;

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.0120.00616.63
8.3.50.0090.00616.56
8.3.40.0120.00318.70
8.3.30.0110.00418.71
8.3.20.0000.00820.23
8.3.10.0040.00421.95
8.3.00.0090.00017.55
8.2.180.0150.00416.63
8.2.170.0090.00622.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00421.13
8.2.120.0040.00426.35
8.2.110.0030.00620.44
8.2.100.0000.01117.84
8.2.90.0080.00018.94
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0050.00318.03
8.2.50.0040.00418.10
8.2.40.0050.00320.32
8.2.30.0030.00619.30
8.2.20.0000.00717.93
8.2.10.0000.00818.18
8.2.00.0050.00218.17
8.1.280.0100.00725.92
8.1.270.0040.00423.88
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0040.00420.89
8.1.230.0040.00719.10
8.1.220.0040.00417.77
8.1.210.0080.00018.77
8.1.200.0000.01017.36
8.1.190.0050.00317.10
8.1.180.0050.00218.10
8.1.170.0000.00818.09
8.1.160.0080.00018.98
8.1.150.0000.00718.81
8.1.140.0040.00319.51
8.1.130.0030.00318.75
8.1.120.0000.00717.39
8.1.110.0000.00817.28
8.1.100.0000.01017.41
8.1.90.0000.00717.44
8.1.80.0000.00717.41
8.1.70.0030.00317.36
8.1.60.0000.00817.42
8.1.50.0080.00017.41
8.1.40.0030.00617.45
8.1.30.0000.00717.55
8.1.20.0000.00817.57
8.1.10.0050.00317.46
8.1.00.0000.00717.37
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.46
8.0.270.0000.01017.25
8.0.260.0040.00416.82
8.0.250.0030.00317.05
8.0.240.0090.00016.98
8.0.230.0040.00416.83
8.0.220.0000.00816.83
8.0.210.0040.00416.88
8.0.200.0040.00416.96
8.0.190.0060.00316.97
8.0.180.0000.00716.88
8.0.170.0000.00816.95
8.0.160.0040.00416.81
8.0.150.0040.00416.84
8.0.140.0040.00416.86
8.0.130.0060.00013.34
8.0.120.0000.00716.86
8.0.110.0000.00717.00
8.0.100.0000.00716.72
8.0.90.0000.00716.89
8.0.80.0120.00616.89
8.0.70.0000.00716.93
8.0.60.0000.00716.75
8.0.50.0000.00816.75
8.0.30.0060.01116.95
8.0.20.0070.01317.40
8.0.10.0070.00016.88
8.0.00.0060.01116.52
7.4.330.0000.00515.55
7.4.320.0030.00316.36
7.4.300.0000.00616.43
7.4.290.0070.00316.58
7.4.280.0040.00416.57
7.4.270.0030.00316.52
7.4.260.0030.00616.54
7.4.250.0000.00716.38
7.4.240.0030.00516.38
7.4.230.0070.00016.52
7.4.220.0120.01316.49
7.4.210.0070.01316.39
7.4.200.0050.00216.61
7.4.160.0090.01016.38
7.4.150.0090.00917.40
7.4.140.0090.01017.86
7.4.130.0190.00316.62
7.4.120.0110.00816.52
7.4.110.0000.01716.44
7.4.100.0100.01016.61
7.4.90.0130.00316.31
7.4.80.0070.01019.39
7.4.70.0030.01316.45
7.4.60.0070.02016.54
7.4.50.0000.01516.68
7.4.40.0120.00916.44
7.4.30.0060.00916.61
7.4.00.0090.00614.68
7.3.330.0030.00313.04
7.3.320.0050.00013.11
7.3.310.0040.00416.16
7.3.300.0030.00316.11
7.3.290.0060.00816.28
7.3.280.0090.00616.26
7.3.270.0150.00317.40
7.3.260.0090.00816.21
7.3.250.0140.00816.33
7.3.240.0110.00816.25
7.3.230.0100.00716.26
7.3.210.0130.00316.24
7.3.200.0100.00516.41
7.3.190.0040.01116.36
7.3.180.0100.01016.33
7.3.170.0060.00916.41
7.3.160.0100.00716.30
7.3.10.0040.01116.36
7.3.00.0090.00616.44
7.2.330.0130.00716.60
7.2.320.0090.01216.27
7.2.310.0090.00916.71
7.2.300.0130.00316.73
7.2.290.0030.01416.52
7.2.130.0090.00617.05
7.2.120.0030.01316.77
7.2.110.0150.00016.75
7.2.100.0030.00616.95
7.2.90.0100.01016.84
7.2.80.0090.00616.96
7.2.70.0120.00617.04
7.2.60.0050.01016.77
7.2.50.0100.00316.68
7.2.40.0070.00416.95
7.2.30.0030.00717.04
7.2.20.0030.01316.58
7.2.10.0040.00816.79
7.2.00.0070.00618.05
7.1.250.0070.00715.87
7.1.200.0000.01515.64
7.1.100.0000.01118.02
7.1.70.0030.01017.13
7.1.60.0240.01035.03
7.1.50.0280.00834.95
7.1.40.0230.01334.38
7.1.30.0190.01934.61
7.1.20.0160.02234.61
7.1.10.0060.01116.73
7.1.00.0070.01016.75
7.0.200.0050.01116.63
7.0.190.0080.00916.79
7.0.180.0040.01416.36
7.0.170.0000.01716.12
7.0.160.0030.01116.40
7.0.150.0100.00316.14
7.0.140.0100.00716.34
7.0.130.0060.01314.63
7.0.120.0040.01314.63
7.0.110.0040.01316.36
7.0.100.0110.00916.23
7.0.90.0040.01016.27
7.0.80.0110.01314.70
7.0.70.0030.01516.36
7.0.60.0080.00516.02
7.0.50.0060.01014.63
7.0.40.0090.00914.94
7.0.30.0080.00814.76
7.0.20.0000.01716.57
7.0.10.0060.01116.37
7.0.00.0060.01016.41

preferences:
41.37 ms | 401 KiB | 5 Q