3v4l.org

run code in 300+ PHP versions simultaneously
<?php header ('Transfer-encoding: chunked'); flush(); 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.0100.01318.43
8.3.50.0140.00016.39
8.3.40.0120.00418.53
8.3.30.0040.01518.59
8.3.20.0040.00419.39
8.3.10.0060.00323.54
8.3.00.0080.00020.68
8.2.180.0110.01116.50
8.2.170.0000.01522.96
8.2.160.0030.01019.29
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00020.94
8.2.120.0080.00026.35
8.2.110.0030.00720.80
8.2.100.0080.00417.69
8.2.90.0000.00817.84
8.2.80.0060.00317.97
8.2.70.0050.00318.04
8.2.60.0070.00018.09
8.2.50.0040.00418.10
8.2.40.0000.00921.15
8.2.30.0050.00320.69
8.2.20.0000.00717.94
8.2.10.0030.00518.23
8.2.00.0000.00819.57
8.1.280.0150.00325.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0070.00319.26
8.1.230.0080.00422.72
8.1.220.0040.00417.79
8.1.210.0000.00919.03
8.1.200.0040.00417.36
8.1.190.0040.00417.22
8.1.180.0060.00318.10
8.1.170.0030.00618.71
8.1.160.0040.00418.89
8.1.150.0040.00418.89
8.1.140.0070.00018.89
8.1.130.0040.00719.03
8.1.120.0040.00417.48
8.1.110.0030.00517.46
8.1.100.0040.00417.35
8.1.90.0030.00517.48
8.1.80.0000.00817.47
8.1.70.0050.00517.40
8.1.60.0000.00817.61
8.1.50.0030.00617.45
8.1.40.0040.00417.41
8.1.30.0000.01217.70
8.1.20.0080.00017.61
8.1.10.0000.00717.58
8.1.00.0030.00517.48
8.0.300.0040.00419.84
8.0.290.0030.00616.75
8.0.280.0070.00018.37
8.0.270.0070.00017.13
8.0.260.0040.00420.19
8.0.250.0030.00316.93
8.0.240.0000.00716.88
8.0.230.0030.00316.84
8.0.220.0000.00716.89
8.0.210.0000.00716.80
8.0.200.0030.00316.93
8.0.190.0000.00716.98
8.0.180.0000.00816.86
8.0.170.0060.00316.97
8.0.160.0050.00316.92
8.0.150.0000.00816.92
8.0.140.0000.00716.91
8.0.130.0030.00313.39
8.0.120.0040.00416.87
8.0.110.0040.00416.81
8.0.100.0040.00416.82
8.0.90.0040.00416.94
8.0.80.0070.01516.89
8.0.70.0000.00716.81
8.0.60.0000.00816.73
8.0.50.0000.00816.76
8.0.30.0130.00517.08
8.0.20.0110.00717.40
8.0.10.0000.00717.13
8.0.00.0120.00816.77
7.4.330.0050.00015.55
7.4.320.0030.00316.41
7.4.300.0040.00416.61
7.4.290.0000.00916.42
7.4.280.0040.00416.61
7.4.270.0000.00716.57
7.4.260.0040.00816.49
7.4.250.0000.00716.39
7.4.240.0070.00016.46
7.4.230.0030.00316.34
7.4.220.0040.00416.43
7.4.210.0030.01116.64
7.4.200.0030.00316.71
7.4.160.0070.01016.42
7.4.140.0090.01117.86
7.4.130.0100.00716.56
7.4.120.0050.01516.51
7.4.110.0080.00816.52
7.4.100.0100.01016.46
7.4.90.0090.00916.49
7.4.80.0070.01019.39
7.4.70.0120.00616.61
7.4.60.0080.01516.40
7.4.50.0080.00616.69
7.4.40.0130.00916.31
7.4.00.0030.01315.11
7.3.330.0030.00313.18
7.3.320.0000.00613.23
7.3.310.0030.00316.41
7.3.300.0070.00016.28
7.3.290.0040.00416.25
7.3.280.0120.00616.32
7.3.260.0120.00516.45
7.3.240.0110.00916.42
7.3.230.0030.01316.30
7.3.210.0070.01316.21
7.3.200.0130.00716.36
7.3.190.0060.00916.39
7.3.180.0070.00716.43
7.3.170.0080.00816.20
7.3.160.0040.01416.48
7.3.10.0100.00716.50
7.3.00.0050.00515.96
7.2.330.0030.01416.52
7.2.320.0080.00816.63
7.2.310.0070.01316.68
7.2.300.0160.00016.74
7.2.290.0150.00916.46
7.2.130.0070.00716.07
7.2.120.0040.00916.43
7.2.110.0060.00716.40
7.2.100.0040.01116.83
7.2.90.0310.00715.76
7.2.80.0140.00715.46
7.2.70.0100.00515.79
7.2.60.1180.00715.78
7.2.50.1590.01015.71
7.2.40.0090.01015.89
7.2.30.0090.00615.63
7.2.20.1470.01515.87
7.2.10.0130.01215.92
7.2.00.0270.00915.88
7.1.250.0040.00715.36
7.1.210.0090.00713.62
7.1.200.0070.00713.68
7.1.190.2020.00313.81
7.1.180.1830.00713.96
7.1.170.2950.01013.77
7.1.160.0810.00613.59
7.1.150.0190.00013.88
7.1.140.0100.00713.82
7.1.130.0190.00513.99
7.1.120.0060.01113.64
7.1.110.0120.00813.82
7.1.100.0390.00713.90
7.1.90.0660.01013.66
7.1.80.0820.00313.74
7.1.70.0220.00714.02
7.1.60.0290.00731.92
7.1.50.0580.00431.95
7.1.40.0230.01231.89
7.1.30.0290.01031.99
7.1.20.0210.01331.94
7.1.10.0150.00313.98
7.1.00.0390.00913.85

preferences:
36.15 ms | 400 KiB | 5 Q