3v4l.org

run code in 300+ PHP versions simultaneously
<?php $threep = 'assets/images/catalog/kitchen/fuksi/small_DSCN0818.JPG'; if ($threep != '') { $threepcount = str_replace($onep, $twop, $threep, $count); if ($count >= 1) { $threepout = str_replace($twop, $onep, $threep, $count); } else { $threepout = str_replace($twop, $onep, $threep, $count); } } else { echo ''; } echo $threepout;

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.64
8.3.50.0140.00717.93
8.3.40.0000.01418.84
8.3.30.0070.00718.68
8.3.20.0070.00019.35
8.3.10.0030.00521.63
8.3.00.0050.00320.96
8.2.180.0090.01316.88
8.2.170.0110.00322.96
8.2.160.0040.01122.17
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00017.80
8.2.120.0060.00326.35
8.2.110.0030.00722.07
8.2.100.0060.00617.77
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0100.00017.50
8.2.60.0000.00917.90
8.2.50.0000.00918.09
8.2.40.0000.00822.09
8.2.30.0070.00019.49
8.2.20.0000.00817.79
8.2.10.0040.00418.13
8.2.00.0050.00218.01
8.1.280.0040.01125.92
8.1.270.0040.00423.79
8.1.260.0030.00628.09
8.1.250.0000.00728.09
8.1.240.0000.00924.05
8.1.230.0110.00017.42
8.1.220.0050.00317.79
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0030.00618.65
8.1.160.0040.00420.63
8.1.150.0040.00418.88
8.1.140.0050.00319.50
8.1.130.0080.00017.75
8.1.120.0000.00817.36
8.1.110.0050.00217.40
8.1.100.0040.00417.46
8.1.90.0040.00417.48
8.1.80.0040.00417.45
8.1.70.0070.00017.41
8.1.60.0030.00617.48
8.1.50.0000.00817.48
8.1.40.0000.00817.46
8.1.30.0040.00417.54
8.1.20.0080.00317.65
8.1.10.0080.00017.47
8.1.00.0030.00517.34
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0030.00317.16
8.0.260.0030.00317.21
8.0.250.0040.00417.04
8.0.240.0070.00016.96
8.0.230.0000.00716.95
8.0.220.0000.00717.01
8.0.210.0000.00716.91
8.0.200.0060.00317.06
8.0.190.0040.00417.02
8.0.180.0070.00016.83
8.0.170.0090.00016.82
8.0.160.0040.00416.91
8.0.150.0000.00716.96
8.0.140.0000.00716.84
8.0.130.0000.00613.30
8.0.120.0030.00516.99
8.0.110.0040.00416.97
8.0.100.0000.00716.95
8.0.90.0030.00316.96
8.0.80.0100.00516.83
8.0.70.0060.00316.80
8.0.60.0000.00816.77
8.0.50.0000.00816.75
8.0.30.0150.00416.98
8.0.20.0090.01117.40
8.0.10.0040.00317.11
8.0.00.0070.01016.50
7.4.330.0020.00216.77
7.4.320.0050.00216.52
7.4.300.0040.00416.51
7.4.290.0000.00716.41
7.4.280.0040.00416.42
7.4.270.0040.00416.59
7.4.260.0040.00416.58
7.4.250.0030.00316.61
7.4.240.0050.00316.52
7.4.230.0070.00016.57
7.4.220.0120.01216.63
7.4.210.0060.00916.60
7.4.200.0070.00016.39
7.4.160.0090.00616.52
7.4.150.0150.00317.40
7.4.140.0100.00817.86
7.4.130.0120.00716.45
7.4.120.0100.00816.60
7.4.110.0040.01516.53
7.4.100.0110.00716.70
7.4.90.0060.01216.53
7.4.80.0110.00519.39
7.4.70.0110.01116.45
7.4.60.0060.01016.53
7.4.50.0040.01116.66
7.4.40.0090.01216.56
7.4.30.0070.01416.53
7.4.00.0080.00614.77
7.3.330.0050.00013.14
7.3.320.0050.00012.96
7.3.310.0050.00316.11
7.3.300.0030.00316.16
7.3.290.0100.00716.24
7.3.280.0050.00916.31
7.3.270.0080.01417.40
7.3.260.0050.01316.22
7.3.250.0110.00816.33
7.3.240.0050.01216.20
7.3.230.0110.00816.39
7.3.210.0110.00716.33
7.3.200.0040.01216.27
7.3.190.0110.01116.28
7.3.180.0150.00716.30
7.3.170.0100.00716.25
7.3.160.0030.01316.36
7.2.330.0100.00716.36
7.2.320.0060.01316.54
7.2.310.0110.01416.45
7.2.300.0040.01516.79
7.2.290.0030.01416.45
7.2.60.0070.00716.93
7.2.00.0000.01519.38
7.1.200.0100.00315.73
7.1.100.0030.00918.23
7.1.70.0040.00417.11
7.1.60.0090.00619.85
7.1.00.0030.07722.43
7.0.200.0460.01014.68
7.0.60.0170.05319.87
7.0.50.0200.05320.38
7.0.40.0130.05720.25
7.0.30.0170.05720.22
7.0.20.0030.06720.32
7.0.10.0170.06020.22
7.0.00.0070.06720.21
5.6.280.0000.07721.01
5.6.210.0170.05320.55
5.6.200.0230.05321.04
5.6.190.0170.06021.12
5.6.180.0170.05321.03
5.6.170.0130.06021.12
5.6.160.0100.05721.21
5.6.150.0170.05321.02
5.6.140.0200.04721.20
5.6.130.0170.05321.01
5.6.120.0170.05721.16
5.6.110.0230.05021.02
5.6.100.0170.05321.00
5.6.90.0170.06021.15
5.6.80.0070.07020.46
5.6.70.0100.06020.43
5.6.60.0230.05720.45
5.6.50.0330.06020.43
5.6.40.0300.05320.44
5.6.30.0330.05020.43
5.6.20.0300.04720.47
5.6.10.0170.06320.40
5.6.00.0330.04720.46
5.5.350.0200.05320.35
5.5.340.0030.07021.00
5.5.330.0100.06320.80
5.5.320.0070.06020.86
5.5.310.0170.05020.83
5.5.300.0130.05320.84
5.5.290.0100.06320.95
5.5.280.0170.06720.77
5.5.270.0130.06720.70
5.5.260.0100.06320.99
5.5.250.0130.05720.82
5.5.240.0130.05020.18
5.5.230.0470.04020.09
5.5.220.0300.05320.24
5.5.210.0330.05720.20
5.5.200.0270.05320.26
5.5.190.0270.06320.39
5.5.180.0200.06320.38
5.5.160.0230.06320.39
5.5.150.0270.05020.18
5.5.140.0270.05020.14
5.5.130.0300.04720.14
5.5.120.0200.05720.37
5.5.110.0270.05720.29
5.5.100.0370.06720.16
5.5.90.0300.04720.16
5.5.80.0270.05720.27
5.5.70.0400.04020.10
5.5.60.0300.05020.15
5.5.50.0300.05320.07
5.5.40.0270.05020.06
5.5.30.0200.06020.17
5.5.20.0200.06319.98
5.5.10.0300.05019.97
5.5.00.0130.06720.08

preferences:
66.74 ms | 401 KiB | 5 Q