3v4l.org

run code in 300+ PHP versions simultaneously
<?php $old_article = " asdf asdf sadgf asdf"; $new_article = " asdf asdf2 sadgf asdf"; $diff = xdiff_string_diff($old_article, $new_article, 1); if (is_string($diff)) { echo "Differences between two articles:\n"; echo $diff; } ?>

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.0060.00916.75
8.3.50.0070.01016.27
8.3.40.0070.00718.80
8.3.30.0070.00718.77
8.3.20.0000.00720.16
8.3.10.0100.00023.61
8.3.00.0040.00422.46
8.2.180.0120.00618.17
8.2.170.0090.00922.96
8.2.160.0100.00322.13
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0090.00326.16
8.2.120.0030.00617.50
8.2.110.0080.00319.24
8.2.100.0040.00817.50
8.2.90.0050.00319.22
8.2.80.0090.00017.97
8.2.70.0030.00617.63
8.2.60.0060.00317.80
8.2.50.0070.00418.07
8.2.40.0040.00421.12
8.2.30.0000.00819.66
8.2.20.0000.00717.74
8.2.10.0000.00817.95
8.2.00.0080.00017.93
8.1.270.0060.00320.37
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0110.00022.18
8.1.230.0110.00017.66
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0060.00317.22
8.1.180.0000.00918.10
8.1.170.0030.00518.51
8.1.160.0020.00521.94
8.1.150.0040.00418.76
8.1.140.0030.00617.43
8.1.130.0030.00317.63
8.1.120.0000.00717.45
8.1.110.0050.00217.37
8.1.100.0030.00317.40
8.1.90.0050.00217.37
8.1.80.0040.00417.42
8.1.70.0000.00717.39
8.1.60.0040.00417.37
8.1.50.0030.00517.39
8.1.40.0040.00417.54
8.1.30.0000.00817.65
8.1.20.0000.00817.59
8.1.10.0040.00417.44
8.1.00.0030.00517.47
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0030.00318.42
8.0.270.0050.00317.06
8.0.260.0000.00717.17
8.0.250.0040.00416.96
8.0.240.0040.00416.97
8.0.230.0040.00416.97
8.0.220.0000.00716.77
8.0.210.0000.00716.75
8.0.200.0060.00016.95
8.0.190.0050.00316.94
8.0.180.0000.00816.94
8.0.170.0000.00716.97
8.0.160.0050.00316.85
8.0.150.0040.00416.79
8.0.140.0000.00816.67
8.0.130.0030.00613.22
8.0.120.0080.00016.74
8.0.110.0040.00416.95
8.0.100.0070.00016.85
8.0.90.0000.00716.77
8.0.80.0090.00616.84
8.0.70.0000.00716.75
8.0.60.0080.00016.84
8.0.50.0050.00316.95
8.0.30.0090.00816.98
8.0.20.0100.01317.40
8.0.10.0000.00716.88
8.0.00.0100.01116.65
7.4.330.0030.00315.08
7.4.320.0070.00016.43
7.4.300.0000.00616.52
7.4.290.0030.00316.46
7.4.280.0050.00516.49
7.4.270.0040.00416.57
7.4.260.0080.00016.38
7.4.250.0040.00416.60
7.4.240.0030.00316.56
7.4.230.0000.00716.30
7.4.220.0090.00916.60
7.4.210.0100.00616.68
7.4.200.0040.00416.30
7.4.160.0100.00716.44
7.4.150.0160.00717.40
7.4.140.0130.00717.86
7.4.130.0080.01016.56
7.4.120.0080.01116.60
7.4.110.0060.01316.30
7.4.100.0130.01016.54
7.4.90.0030.01416.57
7.4.80.0070.01119.39
7.4.70.0060.01016.34
7.4.60.0070.01016.43
7.4.50.0000.00916.52
7.4.40.0100.00716.27
7.4.30.0230.00016.51
7.4.00.0000.01415.09
7.3.330.0000.00612.98
7.3.320.0080.00013.09
7.3.310.0060.00016.30
7.3.300.0070.00016.10
7.3.290.0070.00016.11
7.3.280.0070.01116.24
7.3.270.0110.00717.40
7.3.260.0040.01516.38
7.3.250.0080.00816.24
7.3.240.0120.00616.48
7.3.230.0140.00316.48
7.3.210.0110.00716.54
7.3.200.0130.00716.44
7.3.190.0040.01116.50
7.3.180.0100.00716.34
7.3.170.0070.01016.27
7.3.160.0060.01216.18
7.3.120.0090.00616.90
7.3.110.0030.01316.90
7.3.100.0040.01116.90
7.3.90.0090.00616.90
7.3.80.0030.01016.90
7.3.70.0030.00916.90
7.3.60.0040.01116.90
7.3.50.0000.01416.90
7.3.40.0090.00616.90
7.3.30.0070.01016.90
7.3.20.0060.00316.90
7.3.10.0110.00316.64
7.3.00.0090.00616.61
7.2.330.0090.00916.53
7.2.320.0080.00816.50
7.2.310.0060.01216.56
7.2.300.0060.01616.52
7.2.290.0070.01016.23
7.2.240.0060.01016.90
7.2.230.0000.01016.90
7.2.220.0090.00616.90
7.2.210.0060.00616.90
7.2.200.0000.01616.90
7.2.190.0040.00816.90
7.2.180.0070.00716.90
7.2.170.0080.00416.90
7.2.160.0030.01316.90
7.2.150.0090.00616.90
7.2.140.0070.00716.90
7.2.130.0080.00916.82
7.2.120.0080.00716.70
7.2.110.0060.00916.57
7.2.100.0090.00616.61
7.2.90.0090.00516.71
7.2.80.0110.00516.68
7.2.70.0070.00716.73
7.2.60.0080.00716.69
7.2.50.0060.00816.74
7.2.40.0090.01116.70
7.2.30.0090.00816.62
7.2.20.0120.00216.59
7.2.10.0070.01016.64
7.2.00.0070.01117.45
7.1.330.0000.01616.90
7.1.320.0030.01016.90
7.1.310.0030.01316.90
7.1.300.0070.01116.90
7.1.290.0070.00716.90
7.1.280.0080.00316.90
7.1.270.0060.00616.90
7.1.260.0090.00316.90
7.1.250.0100.00615.81
7.1.240.0060.00915.50
7.1.230.0030.01315.54
7.1.220.0030.00715.56
7.1.210.0030.01015.40
7.1.200.0070.00515.71
7.1.190.0040.01115.71
7.1.180.0090.00615.72
7.1.170.0030.00715.59
7.1.160.0000.01515.71
7.1.150.0030.00615.45
7.1.140.0080.00015.51
7.1.130.0100.00315.61
7.1.120.0120.00315.75
7.1.110.0080.00415.58
7.1.100.0050.00616.84
7.1.90.0030.00615.63
7.1.80.0000.01215.70
7.1.70.0050.00516.34
7.1.60.0090.00917.49
7.1.50.0070.01216.32
7.1.40.0060.00615.60
7.1.30.0040.00715.79
7.1.20.0000.00715.52
7.1.10.0030.01015.64
7.1.00.0060.03618.96
7.0.330.0030.00615.14
7.0.320.0060.00615.29
7.0.310.0030.00715.34
7.0.300.0100.00015.21
7.0.290.0070.00315.46
7.0.280.0030.01015.30
7.0.270.0040.00815.50
7.0.260.0090.00614.98
7.0.250.0080.00415.34
7.0.240.0050.00315.26
7.0.230.0030.00615.30
7.0.220.0070.00715.14
7.0.210.0120.00015.38
7.0.200.0030.00615.98
7.0.190.0000.01115.14
7.0.180.0030.01015.05
7.0.170.0040.00415.32
7.0.160.0080.00015.38
7.0.150.0060.00915.15
7.0.140.0070.00715.17
7.0.130.0060.00615.30
7.0.120.0070.00715.29
7.0.110.0040.00715.36
7.0.100.0030.00715.13
7.0.90.0040.00814.96
7.0.80.0040.00815.24
7.0.70.0040.00715.33
7.0.60.0090.03817.52
7.0.50.0050.04116.60
7.0.40.0020.03816.73
7.0.30.0150.03416.72
7.0.20.0150.03616.87
7.0.10.0080.02716.75
7.0.00.0050.04916.78
5.6.380.0130.00314.14
5.6.370.0000.00914.05
5.6.360.0030.01014.31
5.6.350.0030.01014.43
5.6.340.0100.00714.22
5.6.330.0000.01814.26
5.6.320.0000.01414.36
5.6.310.0030.01014.33
5.6.300.0030.00914.37
5.6.290.0030.01014.04
5.6.280.0080.03317.41
5.6.270.0100.00313.74
5.6.260.0060.00614.21
5.6.250.0070.00414.19
5.6.240.0040.00814.42
5.6.230.0060.00614.09
5.6.220.0040.00714.24
5.6.210.0020.03017.24
5.6.200.0130.03116.13
5.6.190.0030.04817.24
5.6.180.2100.02217.29
5.6.170.0150.04017.35
5.6.160.0100.03317.38
5.6.150.0050.03116.17
5.6.140.0050.02316.01
5.6.130.0100.03216.06
5.6.120.0080.04117.68
5.6.110.0100.03717.73
5.6.100.0100.04517.51
5.6.90.0050.04017.74
5.6.80.0040.02717.29
5.6.70.2070.02217.15
5.6.60.0030.00714.15
5.6.50.0090.00314.34
5.6.40.0030.00613.93
5.6.30.0040.00814.31
5.6.20.0080.00613.68
5.6.10.0130.00314.15
5.6.00.0090.00614.07
5.5.380.0000.01210.90
5.5.370.0060.00011.06
5.5.360.0000.00910.90
5.5.350.0010.04815.67
5.5.340.0060.02014.44
5.5.330.0050.03015.54
5.5.320.0120.02715.55
5.5.310.0150.04515.53
5.5.300.0100.03814.47
5.5.290.0050.03914.45
5.5.280.0060.04215.90
5.5.270.0090.02415.88
5.5.260.0040.02015.83
5.5.250.0090.03715.70
5.5.240.0120.03515.53
5.5.230.0000.01010.90
5.5.220.0030.00610.90
5.5.210.0030.00710.90
5.5.200.0060.00310.90
5.5.190.0050.00010.97
5.5.180.0080.00410.90
5.5.170.0040.00810.90
5.5.160.0040.00410.90
5.5.150.0070.00310.90
5.5.140.0030.00610.90
5.5.130.0070.00310.90
5.5.120.0000.00810.90
5.5.110.0040.00410.90
5.5.100.0000.00610.90
5.5.90.0050.00310.90
5.5.80.0090.00010.90
5.5.70.0050.00510.90
5.5.60.0030.00710.94
5.5.50.0030.00710.90
5.5.40.0050.00210.90
5.5.30.0070.00310.96
5.5.20.0070.00010.92
5.5.10.0030.00310.90
5.5.00.0000.00810.90
5.4.450.0470.03015.15
5.4.440.0580.02215.21
5.4.430.0470.03815.16
5.4.420.0380.03315.28
5.4.410.0420.03015.13
5.4.400.0440.02515.09
5.4.390.0530.03015.09
5.4.380.0440.02415.00
5.4.370.0380.03215.01
5.4.360.0450.02515.07
5.4.350.0400.03115.06
5.4.340.0330.03014.92
5.4.330.0000.01110.90
5.4.320.0550.02315.07
5.4.310.0450.02814.86
5.4.300.0460.02314.82
5.4.290.0420.03015.09
5.4.280.0430.03014.91
5.4.270.0310.03315.08
5.4.260.0350.03214.94
5.4.250.0450.02814.90
5.4.240.0370.02815.09
5.4.230.0430.03515.09
5.4.220.0390.02715.04
5.4.210.0330.03314.98
5.4.200.0360.02713.81
5.4.190.0380.02914.87
5.4.180.0470.03315.00
5.4.170.0450.03014.98
5.4.160.0400.02814.92
5.4.150.0420.03015.06
5.4.140.0350.03113.75
5.4.130.0320.03113.70
5.4.120.0400.02113.62
5.4.110.0370.02813.58
5.4.100.0420.03013.67
5.4.90.0420.03013.68
5.4.80.0450.02913.53
5.4.70.0420.02713.58
5.4.60.0120.02713.54
5.4.50.0030.02313.65
5.4.40.0120.02813.68
5.4.30.0150.03713.67
5.4.20.0190.03513.47
5.4.10.0060.00010.90
5.4.00.0040.00410.90

preferences:
61.78 ms | 400 KiB | 5 Q