3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo str_replace('in', 'out', 'my name is in and out');

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.0130.00316.50
8.3.50.0100.00816.59
8.3.40.0090.00618.85
8.3.30.0090.00618.59
8.3.20.0080.00018.65
8.3.10.0100.00018.44
8.3.00.0040.00419.01
8.2.180.0110.00416.75
8.2.170.0090.00622.96
8.2.160.0060.00918.70
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.12
8.2.110.0060.00322.26
8.2.100.0030.00917.78
8.2.90.0060.00317.38
8.2.80.0000.00818.61
8.2.70.0000.00817.63
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0030.00617.91
8.2.30.0030.00617.61
8.2.20.0030.00617.56
8.2.10.0070.00017.40
8.2.00.0070.00017.48
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00320.00
8.1.230.0080.00317.70
8.1.220.0070.00017.78
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0080.00017.11
8.1.180.0000.00818.10
8.1.170.0080.00018.57
8.1.160.0040.00418.95
8.1.150.0080.00018.54
8.1.140.0000.00717.35
8.1.130.0030.00517.26
8.1.120.0000.00717.30
8.1.110.0000.00717.34
8.1.100.0000.00717.27
8.1.90.0000.00717.20
8.1.80.0030.00317.35
8.1.70.0050.00317.24
8.1.60.0090.00017.42
8.1.50.0040.00417.20
8.1.40.0060.00317.44
8.1.30.0030.00617.52
8.1.20.0080.00017.55
8.1.10.0000.00717.47
8.1.00.0030.00517.37
8.0.300.0030.00318.92
8.0.290.0040.00416.63
8.0.280.0040.00418.62
8.0.270.0050.00317.18
8.0.260.0030.00316.75
8.0.250.0040.00416.84
8.0.240.0000.00816.84
8.0.230.0040.00416.86
8.0.220.0000.00616.80
8.0.210.0030.00316.66
8.0.200.0030.00316.68
8.0.190.0040.00416.77
8.0.180.0040.00416.66
8.0.170.0030.00616.66
8.0.160.0000.00716.78
8.0.150.0070.00016.60
8.0.140.0050.00416.39
8.0.130.0050.00213.17
8.0.120.0030.00616.67
8.0.110.0070.00016.80
8.0.100.0040.00416.70
8.0.90.0030.00616.79
8.0.80.0030.01816.71
8.0.70.0000.00716.61
8.0.60.0000.00916.81
8.0.50.0000.00816.85
8.0.30.0060.00916.89
8.0.20.0110.00916.89
8.0.10.0070.00016.91
8.0.00.0090.01016.68
7.4.330.0000.00512.83
7.4.320.0030.00316.44
7.4.300.0060.00016.43
7.4.290.0100.00016.42
7.4.280.0000.00916.36
7.4.270.0000.00616.39
7.4.260.0000.00513.10
7.4.250.0040.00416.20
7.4.240.0040.00416.32
7.4.230.0040.00416.29
7.4.220.0070.01516.39
7.4.210.0100.01016.48
7.4.200.0000.00716.27
7.4.190.0000.00816.53
7.4.160.0060.00916.40
7.4.150.0120.00616.34
7.4.140.0120.01217.86
7.4.130.0110.00516.28
7.4.120.0060.01016.27
7.4.110.0180.00016.47
7.4.100.0130.00316.45
7.4.90.0040.01416.33
7.4.80.0060.01119.39
7.4.70.0090.00616.61
7.4.60.0120.00316.52
7.4.50.0000.00516.56
7.4.40.0070.00416.30
7.4.30.0090.00816.41
7.4.00.0000.01514.79
7.3.330.0030.00312.96
7.3.320.0030.00313.08
7.3.310.0000.00716.20
7.3.300.0070.00016.11
7.3.290.0090.00616.13
7.3.280.0070.00716.09
7.3.270.0050.01116.12
7.3.260.0120.00516.25
7.3.240.0060.01016.48
7.3.230.0100.00716.33
7.3.210.0060.00916.27
7.3.200.0040.01216.13
7.3.190.0100.00616.30
7.3.180.0090.01516.32
7.3.170.0080.00816.29
7.3.160.0100.00716.50
7.3.120.0040.01114.91
7.2.330.0120.01216.21
7.2.320.0100.00716.55
7.2.310.0090.00916.47
7.2.300.0070.01016.38
7.2.290.0030.01316.36
7.2.00.0070.00719.37
7.1.100.0040.00717.98
7.1.70.0040.00417.05
7.1.60.0130.01319.30
7.1.50.0100.01316.90
7.1.00.0000.03722.31
7.0.200.0020.00516.76
7.0.140.0030.07322.08
7.0.120.0100.06722.15
7.0.60.0100.07019.92
7.0.50.0070.03717.89
7.0.40.0030.05320.23
7.0.30.0300.03720.17
7.0.20.0300.05020.25
7.0.10.0070.05720.25
7.0.00.0130.06319.99
5.6.280.0070.07021.11
5.6.210.0170.05320.75
5.6.200.0170.07718.23
5.6.190.0030.04720.32
5.6.180.0300.04320.33
5.6.170.0400.07020.49
5.6.160.0100.08020.37
5.6.150.0100.07718.11
5.6.140.0100.03018.11
5.6.130.0130.04318.11
5.6.120.0170.07720.95
5.6.110.0070.05320.93
5.6.100.0030.06021.01
5.6.90.0030.08720.96
5.6.80.0070.07320.35
5.5.350.0000.08720.32
5.5.340.0000.07317.91
5.5.330.0070.05320.25
5.5.320.1330.07020.24
5.5.310.0370.06720.26
5.5.300.0100.08018.02
5.5.290.0070.04018.05
5.5.280.0070.03720.87
5.5.270.0130.03320.62
5.5.260.0070.05320.96
5.5.250.0070.07320.77
5.5.240.0030.07720.34
5.4.450.0770.03719.13
5.4.440.0230.04319.54
5.4.430.0870.03719.09
5.4.420.0630.04319.48
5.4.410.0700.03019.41
5.4.400.0970.03018.88
5.4.390.0300.04719.13
5.4.380.0630.04318.79
5.4.370.0530.04718.88
5.4.360.0700.04019.04
5.4.350.0230.03719.13
5.4.340.0130.03719.10
5.4.320.0070.04718.77
5.4.310.0470.04019.10
5.4.300.0630.04019.16
5.4.290.0330.03319.21
5.4.280.0570.04719.15
5.4.270.0400.03318.93
5.4.260.0530.04319.06
5.4.250.0170.04019.02
5.4.240.0170.03319.06
5.4.230.0070.04719.13
5.4.220.0300.03719.21
5.4.210.0200.04718.91
5.4.200.0170.03719.03
5.4.190.0230.04318.87
5.4.180.0100.03718.89
5.4.170.0070.04719.04
5.4.160.0100.03719.04
5.4.150.0800.03718.91
5.4.140.0330.03716.27
5.4.130.0430.03016.42
5.4.120.0370.04716.31
5.4.110.0670.02716.45
5.4.100.0270.03316.38
5.4.90.0500.04016.32
5.4.80.0500.03716.35
5.4.70.0530.03316.21
5.4.60.0600.04016.38
5.4.50.0230.04716.18
5.4.40.0400.03716.45
5.4.30.0330.03316.34
5.4.20.0500.03716.34
5.4.10.0530.03316.36
5.4.00.0200.03715.88
5.3.290.0470.04315.05
5.3.280.0130.03315.05
5.3.270.0170.02315.05
5.3.260.0130.04015.05
5.3.250.0100.03715.05
5.3.240.0370.07315.04
5.3.230.0570.03015.04
5.3.220.0500.04015.04
5.3.210.0230.04315.04
5.3.200.0600.03315.04
5.3.190.0400.03715.04
5.3.180.0770.03315.04
5.3.170.0470.04715.04
5.3.160.0700.03315.04
5.3.150.0370.05315.04
5.3.140.0500.03315.04
5.3.130.0500.04315.03
5.3.120.0230.05315.03
5.3.110.0470.03715.03
5.3.100.0370.04315.03
5.3.90.0300.03715.03
5.3.80.0130.03715.02
5.3.70.0130.04013.90
5.3.60.0070.03313.90
5.3.50.0130.02713.90
5.3.40.0070.03313.90
5.3.30.0130.02713.90
5.3.20.0730.03013.90
5.3.10.0230.03713.45
5.3.00.0000.03013.59
5.2.170.0070.03713.90
5.2.160.0200.03013.90
5.2.150.0070.02713.90
5.2.140.0100.04013.90
5.2.130.0370.03313.90
5.2.120.0200.03012.38
5.2.110.0300.02712.37
5.2.100.0230.02712.37
5.2.90.0130.02312.37
5.2.80.0300.02712.37
5.2.70.0570.02712.37
5.2.60.0530.02712.37
5.2.50.0200.03712.37
5.2.40.0370.02312.37
5.2.30.0400.03012.37
5.2.20.0100.03312.37
5.2.10.0430.02712.37
5.2.00.0500.02312.37
5.1.60.0370.02712.37
5.1.50.0400.02312.37
5.1.40.0330.02312.37
5.1.30.0570.02712.36
5.1.20.0630.03312.36
5.1.10.0070.02712.36
5.1.00.0270.02312.36
5.0.50.0100.02012.36
5.0.40.0130.01712.36
5.0.30.0070.03312.36
5.0.20.0130.01712.36
5.0.10.0100.01712.36
5.0.00.0270.02312.36
4.4.90.0100.01712.37
4.4.80.0230.01712.37
4.4.70.0270.01712.37
4.4.60.0170.01312.37
4.4.50.0100.01012.37
4.4.40.0130.02312.37
4.4.30.0300.01012.37
4.4.20.0270.01012.36
4.4.10.0200.02012.36
4.4.00.0170.02012.36
4.3.110.0100.02012.36
4.3.100.0330.01712.36
4.3.90.0200.01312.36
4.3.80.0130.02712.36
4.3.70.0300.01312.36
4.3.60.0200.02012.36
4.3.50.0070.01712.36
4.3.40.0070.02312.36
4.3.30.0100.01312.36
4.3.20.0100.01712.36
4.3.10.0030.01312.36
4.3.00.0030.01712.36

preferences:
49.69 ms | 401 KiB | 5 Q