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*', ',', $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.0080.00816.62
8.3.50.0140.00016.28
8.3.40.0110.00419.02
8.3.30.0070.00718.89
8.3.20.0070.00020.16
8.3.10.0070.00021.77
8.3.00.0050.00317.84
8.2.180.0040.01116.38
8.2.170.0190.00022.96
8.2.160.0030.01020.52
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.90
8.2.120.0000.00826.35
8.2.110.0060.00320.47
8.2.100.0040.00818.03
8.2.90.0040.00419.22
8.2.80.0050.00318.04
8.2.70.0040.00417.63
8.2.60.0070.00018.16
8.2.50.0000.00818.10
8.2.40.0040.00420.64
8.2.30.0000.00719.25
8.2.20.0070.00018.12
8.2.10.0000.00718.18
8.2.00.0070.00018.04
8.1.280.0150.00025.92
8.1.270.0000.00722.11
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0000.00920.82
8.1.230.0030.00719.16
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0030.00517.10
8.1.180.0000.00818.10
8.1.170.0000.00818.33
8.1.160.0040.00419.01
8.1.150.0050.00318.82
8.1.140.0040.00419.45
8.1.130.0050.00318.74
8.1.120.0000.00817.41
8.1.110.0000.00817.46
8.1.100.0030.00617.42
8.1.90.0000.00817.38
8.1.80.0000.00717.45
8.1.70.0040.00417.27
8.1.60.0030.00517.54
8.1.50.0000.00817.38
8.1.40.0070.00017.43
8.1.30.0000.00717.48
8.1.20.0040.00417.48
8.1.10.0050.00317.49
8.1.00.0060.00317.35
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0030.00318.46
8.0.270.0060.00317.14
8.0.260.0060.00016.82
8.0.250.0040.00416.95
8.0.240.0000.00716.94
8.0.230.0070.00316.89
8.0.220.0000.00716.89
8.0.210.0000.00716.90
8.0.200.0030.00316.91
8.0.190.0000.00816.93
8.0.180.0050.00216.92
8.0.170.0050.00316.91
8.0.160.0000.00716.85
8.0.150.0030.00316.72
8.0.140.0040.00416.83
8.0.130.0050.00013.32
8.0.120.0070.00016.87
8.0.110.0040.00416.92
8.0.100.0000.00816.91
8.0.90.0040.00416.77
8.0.80.0060.01116.92
8.0.70.0000.00716.77
8.0.60.0030.00516.74
8.0.50.0000.00716.75
8.0.30.0110.00617.11
8.0.20.0140.00517.40
8.0.10.0030.00517.05
8.0.00.0110.00616.70
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0030.00316.50
7.4.290.0090.00016.45
7.4.280.0050.00216.54
7.4.270.0080.00016.42
7.4.260.0030.00316.35
7.4.250.0040.00416.41
7.4.240.0040.00416.55
7.4.230.0040.00416.56
7.4.220.0100.01116.52
7.4.210.0150.00616.54
7.4.200.0040.00416.64
7.4.160.0060.01116.59
7.4.150.0100.00717.40
7.4.140.0100.00817.86
7.4.130.0170.00316.54
7.4.120.0130.00616.51
7.4.110.0040.01216.26
7.4.100.0060.01216.27
7.4.90.0090.00916.29
7.4.80.0120.00619.39
7.4.70.0060.01016.38
7.4.60.0130.00316.63
7.4.50.0060.01016.48
7.4.40.0120.00416.29
7.4.30.0170.00316.34
7.4.00.0140.00415.09
7.3.330.0060.00013.02
7.3.320.0000.00513.02
7.3.310.0030.00316.20
7.3.300.0070.00016.22
7.3.290.0100.00316.26
7.3.280.0080.00716.25
7.3.270.0210.00017.40
7.3.260.0090.00916.34
7.3.250.0090.00916.34
7.3.240.0060.01316.53
7.3.230.0080.01116.46
7.3.210.0120.00616.22
7.3.200.0110.00416.30
7.3.190.0050.01016.44
7.3.180.0100.00716.36
7.3.170.0080.01116.29
7.3.160.0140.00316.46
7.3.10.0040.01116.71
7.3.00.0100.00316.36
7.2.330.0080.01416.57
7.2.320.0120.01216.56
7.2.310.0130.00316.51
7.2.300.0030.01316.45
7.2.290.0040.01316.45
7.2.130.0070.00416.55
7.2.120.0060.00816.85
7.2.110.0030.01416.91
7.2.100.0040.01216.86
7.2.90.0030.01017.07
7.2.80.0040.01416.67
7.2.70.0060.01217.02
7.2.60.0070.00816.77
7.2.50.0040.01117.00
7.2.40.0090.00616.88
7.2.30.0000.01416.93
7.2.20.0040.00716.64
7.2.10.0070.01116.59
7.2.00.0060.00918.11
7.1.250.0040.00715.95
7.1.200.0030.01015.82
7.1.100.0030.00517.81
7.1.70.0030.01517.09
7.1.60.0260.01634.99
7.1.50.0270.00634.85
7.1.40.0260.00434.26
7.1.30.0240.01434.49
7.1.20.0260.01634.57
7.1.10.0050.00916.53
7.1.00.0110.00516.76
7.0.200.0160.01016.46
7.0.190.0160.00015.04
7.0.180.0110.00616.11
7.0.170.0090.00916.40
7.0.160.0120.00716.45
7.0.150.0030.01216.13
7.0.140.0030.01316.52
7.0.130.0070.01016.73
7.0.120.0060.01016.46
7.0.110.0030.01016.40
7.0.100.0080.00516.23
7.0.90.0000.01616.44
7.0.80.0080.00816.45
7.0.70.0000.01516.53
7.0.60.0060.00916.09
7.0.50.0040.01216.29
7.0.40.0070.01016.57
7.0.30.0040.01216.45
7.0.20.0040.01116.36
7.0.10.0060.01216.53
7.0.00.0000.01716.47

preferences:
56.6 ms | 401 KiB | 5 Q