3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); $commandes = [ ['rm', '/etc/localtime'], ['ln', '-s', '/usr/share/zoneinfo/Europe/Paris', '/etc/localtime'], ['apt-get', 'update'], ['apt-get', '-y', 'upgrade'], ['debconf-set-selections', '/root/ldap_auth_config.debconf'], ['apt-get', 'install', '-y', 'ldap-auth-client', 'nscd'], ['auth-client-config', '-t','nss', '-p', 'lac_ldap'], ['apt-get', '-y', 'install', 'php', 'apache2', 'libapache2-mod-php'], ]; foreach($commandes as $command) { $outtext = sprintf ("Executing : %s\r\n", implode (' ', $command)); printf ("%x\r\n%s", strlen($outtext), $outtext); ob_flush(); flush(); }

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.0090.00918.43
8.3.50.0040.01516.50
8.3.40.0100.00618.77
8.3.30.0180.00018.41
8.3.20.0060.00319.13
8.3.10.0050.00323.60
8.3.00.0050.00320.64
8.2.180.0150.00318.41
8.2.170.0040.01122.96
8.2.160.0100.00319.46
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00419.23
8.2.110.0130.00319.45
8.2.100.0080.00417.78
8.2.90.0040.00417.88
8.2.80.0070.00417.97
8.2.70.0040.00417.68
8.2.60.0090.00018.02
8.2.50.0040.00418.10
8.2.40.0040.00421.12
8.2.30.0040.00420.54
8.2.20.0040.00418.08
8.2.10.0040.00418.32
8.2.00.0000.00719.46
8.1.280.0170.00625.92
8.1.270.0040.00423.82
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00319.09
8.1.230.0080.00420.45
8.1.220.0040.00417.76
8.1.210.0030.00518.77
8.1.200.0080.00017.35
8.1.190.0080.00017.10
8.1.180.0000.00818.10
8.1.170.0060.00318.82
8.1.160.0030.00518.91
8.1.150.0060.00318.89
8.1.140.0000.00818.92
8.1.130.0090.00318.89
8.1.120.0040.00317.51
8.1.110.0080.00017.46
8.1.100.0000.00717.39
8.1.90.0070.00017.46
8.1.80.0040.00417.50
8.1.70.0050.00317.44
8.1.60.0000.00817.49
8.1.50.0070.00017.50
8.1.40.0000.00817.52
8.1.30.0080.00317.48
8.1.20.0000.00717.48
8.1.10.0070.00017.49
8.1.00.0000.00817.39
8.0.300.0030.00618.77
8.0.290.0050.00316.75
8.0.280.0070.00018.45
8.0.270.0070.00016.86
8.0.260.0040.00420.11
8.0.250.0000.00616.87
8.0.240.0080.00017.05
8.0.230.0030.00316.82
8.0.220.0060.00016.79
8.0.210.0030.00316.93
8.0.200.0000.00616.81
8.0.190.0000.00716.93
8.0.180.0030.00616.93
8.0.170.0030.00616.97
8.0.160.0040.00416.92
8.0.150.0050.00216.91
8.0.140.0050.00216.75
8.0.130.0030.00313.34
8.0.120.0040.00416.90
8.0.110.0000.00816.81
8.0.100.0000.00717.01
8.0.90.0040.00416.80
8.0.80.0130.00616.85
8.0.70.0040.00416.76
8.0.60.0040.00416.96
8.0.50.0040.00416.73
8.0.30.0120.00617.12
8.0.20.0500.00617.40
8.0.10.0050.00317.08
8.0.00.0030.01516.78
7.4.330.0030.00315.55
7.4.320.0030.00316.59
7.4.300.0030.00316.40
7.4.290.0110.00016.59
7.4.280.0050.00316.48
7.4.270.0000.00716.54
7.4.260.0070.00316.62
7.4.250.0070.00016.58
7.4.240.0070.00016.61
7.4.230.0000.00716.52
7.4.220.0050.00216.52
7.4.210.0070.00616.52
7.4.200.0000.00716.55
7.4.160.0060.00916.46
7.4.140.0120.00517.86
7.4.130.0070.01116.35
7.4.120.0100.00916.49
7.4.110.0080.00816.37
7.4.100.0100.00716.46
7.4.90.0110.00716.41
7.4.80.0180.00019.39
7.4.70.0100.00716.43
7.4.60.0110.00616.36
7.4.50.0000.01716.43
7.4.40.0110.00716.59
7.4.00.0100.00714.97
7.3.330.0000.00513.21
7.3.320.0060.00013.16
7.3.310.0000.00716.37
7.3.300.0030.00316.31
7.3.290.0000.00816.31
7.3.280.0090.00916.35
7.3.260.0090.00816.42
7.3.240.0120.00716.46
7.3.230.0090.00916.57
7.3.210.0100.00716.28
7.3.200.0090.00616.43
7.3.190.0090.01216.48
7.3.180.0090.00616.19
7.3.170.0150.00616.37
7.3.160.0100.00616.65
7.2.330.0030.01516.66
7.2.320.0110.00716.68
7.2.310.0060.01416.82
7.2.300.0060.01016.63
7.2.290.0120.01216.61
7.2.90.0210.01514.61
7.2.80.0040.01114.77
7.2.70.0120.00415.01
7.2.60.0430.00314.75
7.2.50.0270.00014.97
7.2.40.0030.01214.84
7.2.30.0260.00014.83
7.2.20.0090.00614.88
7.2.10.0100.00514.85
7.2.00.1430.01514.82
7.1.210.0120.00413.83
7.1.200.1090.01113.82
7.1.190.0040.01113.84
7.1.180.0050.01013.67
7.1.170.0490.01213.82
7.1.160.0130.00313.98
7.1.150.0090.00513.80
7.1.140.0340.00013.77
7.1.130.0480.01313.56
7.1.120.0130.00913.83
7.1.110.0130.00913.71
7.1.100.0120.00613.86
7.1.90.0540.00913.84
7.1.80.2100.00613.80
7.1.70.1410.01313.81
7.1.60.4200.00331.74
7.1.50.1650.01431.68
7.1.40.0320.01231.86
7.1.30.0770.00431.78
7.1.20.0640.01331.73
7.1.10.1600.01013.75
7.1.00.0750.00613.78

preferences:
35.92 ms | 400 KiB | 5 Q