3v4l.org

run code in 300+ PHP versions simultaneously
<?php // version started by 1.0.1.1 // version is set by 1.1.1.1 // | | | | // | | | -- build number 'build' // | | ---- patch level 'patch' // | ------ minor release 'minor' // -------- major release 'major' $version = []; $version[] = ['major' => 'history1']; $version[] = ['minor' => 'history2']; $version[] = ['patch' => 'history3']; $version[] = ['build' => 'history4']; $major = 1; $minor = 0; $patch = 1; $build = 1; foreach ($version as $versionInfo) { echo $versionInfo; } var_dump($version);

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.0070.01116.63
8.3.50.0200.00316.24
8.3.40.0080.00818.72
8.3.30.0110.00418.79
8.3.20.0000.00720.25
8.3.10.0070.00021.90
8.3.00.0090.00017.89
8.2.180.0030.01316.32
8.2.170.0140.00322.96
8.2.160.0070.00721.20
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00422.13
8.2.120.0040.00426.35
8.2.110.0070.00321.00
8.2.100.0090.00318.28
8.2.90.0000.00919.22
8.2.80.0080.00018.03
8.2.70.0070.00317.50
8.2.60.0000.01117.91
8.2.50.0090.00018.10
8.2.40.0000.00822.32
8.2.30.0000.00719.30
8.2.20.0080.00018.03
8.2.10.0040.00418.25
8.2.00.0000.00818.29
8.1.280.0130.00625.92
8.1.270.0040.00422.19
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0040.00423.84
8.1.230.0040.00719.16
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0040.00418.94
8.1.150.0000.00720.05
8.1.140.0070.00019.57
8.1.130.0000.00718.97
8.1.120.0040.00417.40
8.1.110.0040.00417.45
8.1.100.0040.00417.43
8.1.90.0070.00017.46
8.1.80.0050.00217.44
8.1.70.0050.00317.40
8.1.60.0080.00017.64
8.1.50.0070.00017.43
8.1.40.0030.00917.38
8.1.30.0060.00317.61
8.1.20.0070.00017.54
8.1.10.0070.00017.38
8.1.00.0030.00617.46
8.0.300.0040.00418.77
8.0.290.0000.00716.61
8.0.280.0000.00718.36
8.0.270.0060.00317.19
8.0.260.0030.00320.80
8.0.250.0080.00017.04
8.0.240.0070.00017.07
8.0.230.0040.00416.97
8.0.220.0020.00516.91
8.0.210.0000.00716.94
8.0.200.0040.00417.03
8.0.190.0050.00316.96
8.0.180.0040.00416.98
8.0.170.0040.00417.00
8.0.160.0040.00416.98
8.0.150.0030.00316.91
8.0.140.0090.00016.77
8.0.130.0050.00013.39
8.0.120.0050.00216.92
8.0.110.0000.00716.82
8.0.100.0040.00416.84
8.0.90.0040.00416.75
8.0.80.0030.01116.99
8.0.70.0000.00716.85
8.0.60.0070.00016.93
8.0.50.0040.00417.01
8.0.30.0090.01017.01
8.0.20.0170.01117.40
8.0.10.0080.00017.14
8.0.00.0090.00916.71
7.4.330.0000.00715.55
7.4.320.0060.00016.43
7.4.300.0030.00316.51
7.4.290.0050.00216.54
7.4.280.0030.00516.45
7.4.270.0070.00016.55
7.4.260.0000.00716.54
7.4.250.0030.00316.61
7.4.240.0000.00716.61
7.4.230.0030.00316.55
7.4.220.0110.01916.50
7.4.210.0050.01316.64
7.4.200.0000.00716.68
7.4.160.0090.00816.66
7.4.150.0150.00317.40
7.4.140.0110.01017.86
7.4.130.0080.01316.49
7.4.120.0130.00916.55
7.4.110.0140.01016.66
7.4.100.0130.00916.64
7.4.90.0070.01116.55
7.4.80.0070.01119.39
7.4.70.0080.00916.42
7.4.60.0030.01316.58
7.4.50.0090.00316.54
7.4.40.0050.01416.64
7.4.30.0060.00916.46
7.4.00.0060.00914.84
7.3.330.0000.00613.16
7.3.320.0050.00013.16
7.3.310.0040.00416.32
7.3.300.0070.00016.37
7.3.290.0070.00016.19
7.3.280.0100.00816.31
7.3.270.0140.00417.40
7.3.260.0100.01016.52
7.3.250.0160.00516.46
7.3.240.0140.00516.46
7.3.230.0100.00716.29
7.3.210.0100.00616.48
7.3.200.0090.00616.30
7.3.190.0090.00916.66
7.3.180.0100.00616.26
7.3.170.0100.00716.24
7.3.160.0080.01216.48
7.3.00.0100.00316.69
7.2.330.0140.00316.46
7.2.320.0130.00316.65
7.2.310.0130.00316.35
7.2.300.0000.02016.73
7.2.290.0110.01416.77
7.2.130.0060.00616.54
7.2.120.0070.00716.85
7.2.110.0070.00716.61
7.2.100.0030.00916.70
7.2.90.0000.01316.68
7.2.80.0000.01016.78
7.2.70.0000.00916.84
7.2.60.0080.00716.72
7.2.50.0070.00717.05
7.2.40.0040.00416.95
7.2.30.0060.00616.88
7.2.20.0050.00516.56
7.2.10.0120.00416.88
7.2.00.0030.00616.75
7.1.250.0060.00315.45
7.1.240.0080.00315.98
7.1.230.0040.01115.88
7.1.220.0090.00615.64
7.1.210.0030.00615.86
7.1.200.0010.00915.71
7.1.190.0040.01115.97
7.1.180.0130.00015.91
7.1.170.0050.00315.68
7.1.160.0030.00515.86
7.1.150.0060.00915.57
7.1.140.0030.00615.86
7.1.130.0030.00915.67
7.1.120.0040.00415.51
7.1.110.0110.00415.77
7.1.100.0060.00915.60
7.1.90.0030.00815.80
7.1.80.0050.00515.88
7.1.70.0030.00416.50
7.1.60.0050.00816.58
7.1.50.0000.01315.80
7.1.40.0270.00924.02
7.1.30.0180.01224.05
7.1.20.0180.01124.18
7.1.10.0210.00515.11
7.1.00.0150.00815.11
7.0.330.0090.00315.39
7.0.320.0060.00615.46
7.0.310.0030.00915.31
7.0.300.0090.00015.34
7.0.290.0070.00715.38
7.0.280.0050.00515.09
7.0.270.0080.00415.19
7.0.260.0060.00315.12
7.0.250.0090.00315.57
7.0.240.0040.00815.50
7.0.230.0060.00615.38
7.0.220.0050.00515.17
7.0.210.0110.00315.30
7.0.200.0090.00716.05
7.0.190.0030.00615.34
7.0.180.0170.01014.76
7.0.170.0130.00815.02
7.0.160.0150.00814.79
7.0.150.0130.00614.93
7.0.140.0120.01014.88
7.0.130.0130.00814.93
7.0.120.0150.01215.00
7.0.110.0130.00814.83
7.0.100.0230.00614.97
7.0.90.0100.00914.75
7.0.80.0130.01514.90
7.0.70.0160.00814.97
7.0.60.0170.00714.70
7.0.50.0120.00714.99
7.0.40.0200.00814.00
7.0.30.0160.00513.92
7.0.20.0100.01114.04
7.0.10.0150.00713.88
7.0.00.0120.01014.00
5.6.380.0070.00414.27

preferences:
59.51 ms | 400 KiB | 5 Q