3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = array(); assert_options(ASSERT_ACTIVE, 1); $myString = array( 'foo' => 'myStsring' ); $foo = assert('"myString" === $myString["foo"]'); var_dump($foo); $test = assert('count($params) == 1'); var_dump($test);

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.70.0070.00718.68
8.3.60.0060.00916.63
8.3.50.0100.00917.56
8.3.40.0150.00318.60
8.3.30.0060.00918.42
8.3.20.0080.00018.52
8.3.10.0080.00020.65
8.3.00.0070.00719.38
8.2.180.0100.01016.63
8.2.170.0110.00322.96
8.2.160.0070.00720.80
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0050.00320.56
8.2.110.0050.00519.18
8.2.100.0100.00017.78
8.2.90.0060.00319.35
8.2.80.0030.00619.47
8.2.70.0040.00417.50
8.2.60.0080.00017.91
8.2.50.0000.00818.07
8.2.40.0050.00218.22
8.2.30.0030.00617.85
8.2.20.0040.00417.61
8.2.10.0040.00417.64
8.2.00.0000.00717.73
8.1.280.0140.00425.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0080.00323.82
8.1.230.0110.00020.96
8.1.220.0000.00817.74
8.1.210.0040.00418.89
8.1.200.0030.00617.35
8.1.190.0030.00617.51
8.1.180.0030.00618.10
8.1.170.0000.00818.80
8.1.160.0040.00418.74
8.1.150.0030.00518.56
8.1.140.0070.00017.43
8.1.130.0030.00317.73
8.1.120.0030.00517.36
8.1.110.0000.00717.44
8.1.100.0040.00417.36
8.1.90.0030.00317.39
8.1.80.0070.00017.36
8.1.70.0030.00317.34
8.1.60.0030.00617.49
8.1.50.0060.00317.51
8.1.40.0030.00517.40
8.1.30.0000.00817.54
8.1.20.0040.00417.64
8.1.10.0000.00717.41
8.1.00.0070.00017.38
8.0.300.0030.00319.91
8.0.290.0080.00016.63
8.0.280.0000.00718.28
8.0.270.0030.00317.17
8.0.260.0000.00716.73
8.0.250.0080.00016.97
8.0.240.0050.00316.92
8.0.230.0000.00716.98
8.0.220.0000.00716.88
8.0.210.0050.00516.75
8.0.200.0060.00016.95
8.0.190.0040.00416.98
8.0.180.0030.00516.93
8.0.170.0040.00416.92
8.0.160.0000.00716.93
8.0.150.0030.00716.75
8.0.140.0060.00616.75
8.0.130.0000.00613.32
8.0.120.0040.00416.86
8.0.110.0030.00616.70
8.0.100.0050.00216.91
8.0.90.0040.00416.95
8.0.80.0130.00316.80
8.0.70.0000.00816.84
8.0.60.0020.00516.77
8.0.50.0040.00416.77
8.0.30.0160.00416.70
8.0.20.0060.01217.07
8.0.10.0040.00416.96
8.0.00.0090.01216.55
7.4.330.0030.00313.03
7.4.320.0000.00716.50
7.4.300.0030.00316.50
7.4.290.0000.00716.37
7.4.280.0090.00016.52
7.4.270.0000.00716.56
7.4.260.0050.00013.31
7.4.250.0040.00416.49
7.4.240.0020.00516.59
7.4.230.0000.00716.58
7.4.220.0100.01116.46
7.4.210.0100.00816.62
7.4.200.0050.00216.62
7.4.190.0030.00316.39
7.4.160.0030.01316.44
7.4.150.0160.00616.58
7.4.140.0090.01116.44
7.4.130.0060.01116.49
7.4.120.0090.00916.41
7.4.110.0040.01216.46
7.4.100.0030.02016.66
7.4.90.0060.01216.54
7.4.80.0160.00316.43
7.4.70.0050.01116.54
7.4.60.0070.01016.30
7.4.50.0090.00416.63
7.4.40.0130.00316.41
7.4.30.0060.01116.54
7.4.00.0030.01315.13
7.3.330.0060.00013.19
7.3.320.0050.00013.14
7.3.310.0030.00316.51
7.3.300.0030.00316.30
7.3.290.0040.01516.29
7.3.280.0070.01116.36
7.3.270.0100.00716.53
7.3.260.0130.00916.52
7.3.250.0120.00716.45
7.3.240.0060.00916.35
7.3.230.0130.00316.30
7.3.210.0150.00816.66
7.3.200.0030.01319.39
7.3.190.0090.01216.49
7.3.180.0060.00916.41
7.3.170.0100.00716.36
7.3.160.0060.00916.29
7.3.120.0080.00815.02
7.3.110.0090.00614.79
7.3.100.0000.01514.92
7.3.90.0090.00314.95
7.3.80.0070.00714.90
7.3.70.0100.00314.86
7.3.60.0000.01414.66
7.3.50.0040.00714.60
7.3.40.0060.00914.98
7.3.30.0120.00314.67
7.3.20.0060.00616.52
7.3.10.0090.00616.46
7.3.00.0030.01316.67
7.2.330.0160.00616.74
7.2.320.0170.00416.62
7.2.310.0150.00316.70
7.2.300.0100.00616.79
7.2.290.0070.01016.48
7.2.240.0130.00615.08
7.2.230.0070.00714.89
7.2.220.0040.01115.18
7.2.210.0070.00714.89
7.2.200.0090.00614.80
7.2.190.0120.00314.91
7.2.180.0120.00315.12
7.2.170.0070.00714.91
7.2.160.0070.01014.80
7.2.150.0000.01516.59
7.2.140.0110.00716.68
7.2.130.0080.00416.69
7.2.120.0030.01316.49
7.2.110.0090.00416.61
7.2.100.0000.01616.86
7.2.90.0000.01316.63
7.2.80.0040.00816.84
7.2.70.0040.01116.85
7.2.60.0050.00916.80
7.2.50.0080.00416.81
7.2.40.0100.00617.03
7.2.30.0130.00016.95
7.2.20.0070.00617.01
7.2.10.0130.00316.91
7.2.00.0100.00716.57
7.1.330.0090.00615.89
7.1.320.0070.01016.01
7.1.310.0090.00315.43
7.1.300.0000.01315.81
7.1.290.0000.01115.71
7.1.280.0150.00315.62
7.1.270.0130.00315.84
7.1.260.0070.00715.64
7.1.250.0030.01315.25
7.1.200.0070.00415.59
7.1.70.0000.01716.92
7.1.60.0210.00319.40
7.1.50.0000.02117.10
7.1.00.0070.04722.51
7.0.200.0040.00814.97
7.0.140.0070.07321.98
7.0.120.0000.03322.13
7.0.60.0030.04719.82
7.0.50.0100.06017.82
7.0.40.0030.05020.04
7.0.30.0500.07320.01
7.0.20.0400.06020.22
7.0.10.0070.09020.18
7.0.00.0000.04319.99
5.6.280.0000.07720.88
5.6.210.0070.03720.71
5.6.200.0030.04718.08
5.6.190.0070.06020.49
5.6.180.0300.07020.37
5.6.170.0230.08720.42
5.6.160.0070.06020.33
5.6.150.0070.08318.11
5.6.140.0070.04718.18
5.6.130.0000.04718.12
5.6.120.0000.05321.01
5.6.110.0030.08721.00
5.6.100.0070.05321.10
5.6.90.0100.08320.87
5.6.80.0070.03720.34
5.5.350.0000.03720.38
5.5.340.0100.05718.02
5.5.330.0030.04720.07
5.5.320.0400.07320.14
5.5.310.0330.07320.50
5.5.300.0100.07717.98
5.5.290.0130.07717.90
5.5.280.0070.03720.95
5.5.270.0000.09320.72
5.5.260.0100.07720.86
5.5.250.0070.06320.75
5.5.240.0200.08020.18
5.4.450.1930.05319.46
5.4.440.1800.03719.41
5.4.430.1700.04019.21
5.4.420.1800.04719.48
5.4.410.2330.04019.00
5.4.400.1930.03318.78
5.4.390.1900.03719.21
5.4.380.1670.03019.09
5.4.370.1730.04319.24
5.4.360.2000.03719.21
5.4.350.1900.02718.88
5.4.340.1870.04319.03
5.4.320.1870.04018.93
5.4.310.1830.04019.06
5.4.300.1830.03719.13
5.4.290.1800.03718.93
5.4.280.1870.04019.20
5.4.270.1770.03718.93
5.4.260.2000.03719.09
5.4.250.1730.04019.13
5.4.240.0100.03019.08
5.4.230.0200.02018.90
5.4.220.0100.03018.91
5.4.210.1230.04019.24
5.4.200.2000.04318.80
5.4.190.1900.04719.15
5.4.180.1700.03719.25
5.4.170.1900.05019.05
5.4.160.1730.03319.15
5.4.150.1830.05019.04
5.4.140.1700.03316.29
5.4.130.2000.04316.27
5.4.120.2230.03316.18
5.4.110.1970.03016.23
5.4.100.1930.04316.34
5.4.90.1630.04016.21
5.4.80.1830.04316.45
5.4.70.1770.02716.39
5.4.60.1900.03716.40
5.4.50.1770.03716.40
5.4.40.1830.03016.32
5.4.30.2030.03316.36
5.4.20.2200.03716.36
5.4.10.1970.04016.36
5.4.00.1930.04015.73
5.3.290.1700.03314.61
5.3.280.1870.04014.45
5.3.270.1970.03714.44
5.3.260.1900.04314.55
5.3.250.1930.04314.44
5.3.240.1930.04014.52
5.3.230.1900.04714.58
5.3.220.1870.04714.43
5.3.210.1730.04714.54
5.3.200.1800.04014.42
5.3.190.1670.04314.52
5.3.180.1570.03714.58
5.3.170.1970.04314.47
5.3.160.1830.04714.41
5.3.150.1700.03714.52
5.3.140.2030.04714.53
5.3.130.0070.06314.39
5.3.120.0030.04714.54
5.3.110.0000.04014.43
5.3.100.1030.04713.98
5.3.90.2200.04313.93
5.3.80.2000.04013.96
5.3.70.2100.04013.81
5.3.60.1970.04313.96
5.3.50.1830.03313.93
5.3.40.1800.03313.78
5.3.30.1730.03713.82
5.3.20.1900.04013.53
5.3.10.1730.03313.50
5.3.00.1770.03013.48
5.2.170.1700.03310.98
5.2.160.1670.03311.01
5.2.150.1500.02311.17
5.2.140.1730.03711.08
5.2.130.1730.02710.95
5.2.120.1470.02311.15
5.2.110.1470.02310.96
5.2.100.1400.03011.28
5.2.90.1630.03711.16
5.2.80.1430.03011.00
5.2.70.1430.03011.25
5.2.60.1200.03310.91
5.2.50.1370.03310.96
5.2.40.1170.02311.04
5.2.30.1070.03310.86
5.2.20.1100.03010.81
5.2.10.1100.02710.77
5.2.00.1270.03310.82
5.1.60.1200.0239.87
5.1.50.1430.03310.12
5.1.40.1130.0239.95
5.1.30.1230.03310.25
5.1.20.1300.03310.57
5.1.10.1300.0239.94
5.1.00.1400.02710.04
5.0.50.0530.0208.53
5.0.40.0530.0208.63
5.0.30.0700.0478.34
5.0.20.0600.0238.18
5.0.10.0670.0338.18
5.0.00.0730.0438.18
4.4.90.0700.0278.18
4.4.80.0670.0208.18
4.4.70.0600.0138.18
4.4.60.0670.0238.18
4.4.50.0570.0178.18
4.4.40.0700.0238.18
4.4.30.0700.0278.18
4.4.20.0600.0208.18
4.4.10.0600.0208.18
4.4.00.0670.0408.18
4.3.110.0630.0178.18
4.3.100.0530.0208.18
4.3.90.0770.0108.18
4.3.80.0670.0378.18
4.3.70.0500.0178.18
4.3.60.0600.0138.18
4.3.50.0530.0178.18
4.3.40.0630.0208.18
4.3.30.0270.0138.18
4.3.20.0330.0278.18
4.3.10.0300.0208.18
4.3.00.0230.0178.18

preferences:
55.4 ms | 401 KiB | 5 Q