3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { define('DERP', 'derp'); define('Ozzie\Miauw\Woef\BLAAT', 'blaat'); } namespace Ozzie\Miauw\Woef { var_dump(DERP, BLAAT); define('Ozzie\Miauw\Woef\DERP', 'Ozzie'); var_dump(DERP); }

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.4.20.0130.00617.41
8.4.10.0040.00417.44
8.3.150.0110.00716.45
8.3.140.0040.01116.43
8.3.130.0080.00016.63
8.3.120.0030.00620.82
8.3.110.0110.00416.48
8.3.100.0070.00724.06
8.3.90.0090.00018.36
8.3.80.0100.00017.97
8.3.70.0110.01116.63
8.3.60.0140.00416.48
8.3.50.0080.01222.11
8.3.40.0070.00718.73
8.3.30.0070.00718.95
8.3.20.0040.00420.33
8.3.10.0000.00723.52
8.3.00.0050.00319.26
8.2.270.0050.00316.45
8.2.260.0030.01316.82
8.2.250.0080.00018.48
8.2.240.0040.01217.12
8.2.230.0130.00320.94
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0060.00616.25
8.2.190.0070.01418.01
8.2.180.0110.00718.16
8.2.170.0110.00722.96
8.2.160.0030.01020.49
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00722.25
8.2.110.0000.01020.48
8.2.100.0040.00817.68
8.2.90.0000.00819.10
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0040.00417.92
8.2.50.0080.00018.07
8.2.40.0000.00919.88
8.2.30.0000.00818.00
8.2.20.0040.00417.67
8.2.10.0070.00017.86
8.2.00.0000.00717.51
8.1.310.0100.00316.59
8.1.300.0040.00416.10
8.1.290.0040.00818.88
8.1.280.0140.00725.92
8.1.270.0000.00822.08
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0050.00522.34
8.1.230.0090.00317.43
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0000.00821.96
8.1.150.0060.00318.50
8.1.140.0080.00017.39
8.1.130.0000.00620.16
8.1.120.0000.00717.28
8.1.110.0040.00417.28
8.1.100.0040.00417.40
8.1.90.0080.00017.38
8.1.80.0050.00217.37
8.1.70.0070.00017.34
8.1.60.0030.00517.40
8.1.50.0080.00017.43
8.1.40.0000.00717.47
8.1.30.0080.00017.47
8.1.20.0000.00717.51
8.1.10.0000.00717.36
8.1.00.0000.00917.20
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.41
8.0.270.0000.00716.75
8.0.260.0030.00318.53
8.0.250.0000.00716.79
8.0.240.0030.00316.87
8.0.230.0070.00016.72
8.0.220.0070.00016.86
8.0.210.0030.00316.80
8.0.200.0100.00016.77
8.0.190.0030.00516.84
8.0.180.0040.00416.73
8.0.170.0040.00416.87
8.0.160.0000.00716.79
8.0.150.0000.00716.83
8.0.140.0060.00316.63
8.0.130.0060.00013.17
8.0.120.0030.00516.81
8.0.110.0040.00416.84
8.0.100.0070.00016.77
8.0.90.0000.00716.60
8.0.80.0100.00716.75
8.0.70.0000.00716.77
8.0.60.0050.00216.64
8.0.50.0070.00016.80
8.0.30.0090.00917.11
8.0.20.0130.01017.40
8.0.10.0070.00016.77
8.0.00.0080.01116.57
7.4.330.0000.00515.00
7.4.320.0040.00416.34
7.4.300.0100.00016.51
7.4.290.0020.00516.45
7.4.280.0050.00216.50
7.4.270.0070.00016.51
7.4.260.0050.00216.51
7.4.250.0030.00316.41
7.4.240.0020.00516.48
7.4.230.0040.00416.19
7.4.220.0170.00916.54
7.4.210.0040.01116.41
7.4.200.0000.00716.36
7.4.190.0080.00016.59
7.4.160.0090.00716.56
7.4.150.0090.00917.40
7.4.140.0050.01217.86
7.4.130.0110.00716.46
7.4.120.0080.00916.40
7.4.110.0100.01016.39
7.4.100.0150.00316.66
7.4.90.0100.00716.32
7.4.80.0090.01319.39
7.4.70.0120.00516.28
7.4.60.0080.00816.36
7.4.50.0030.00615.98
7.4.40.0110.01116.53
7.4.30.0080.00816.49
7.4.10.0100.01015.11
7.4.00.0050.01214.74
7.3.330.0000.00613.03
7.3.320.0000.00513.00
7.3.310.0030.00315.99
7.3.300.0040.00416.13
7.3.290.0080.00816.15
7.3.280.0090.00816.14
7.3.270.0100.01017.40
7.3.260.0100.00716.31
7.3.250.0110.00716.17
7.3.240.0090.00616.29
7.3.230.0080.00816.39
7.3.210.0060.01016.16
7.3.200.0130.01019.39
7.3.190.0110.00716.29
7.3.180.0120.00316.31
7.3.170.0090.00616.27
7.3.160.0120.00916.32
7.3.130.0070.01414.89
7.3.120.0080.00614.59
7.3.110.0150.00414.70
7.3.100.0030.01014.72
7.3.90.0060.00314.77
7.3.80.0060.00614.58
7.3.70.0030.00914.60
7.3.60.0030.01214.55
7.3.50.0100.00414.77
7.3.40.0090.00314.63
7.3.30.0130.00314.69
7.3.20.0100.00316.57
7.3.10.0060.00616.58
7.3.00.0080.00616.20
7.2.330.0120.00616.61
7.2.320.0060.00916.26
7.2.310.0100.00916.54
7.2.300.0030.01316.37
7.2.290.0030.01316.18
7.2.260.0110.00814.90
7.2.250.0060.01314.84
7.2.240.0040.01214.99
7.2.230.0070.00714.63
7.2.220.0080.00814.61
7.2.210.0000.00914.98
7.2.200.0060.00614.99
7.2.190.0120.00614.59
7.2.180.0040.00814.52
7.2.170.0090.00915.13
7.2.160.0030.01315.07
7.2.150.0030.01016.87
7.2.140.0130.00016.83
7.2.130.0100.00716.47
7.2.120.0040.01116.50
7.2.110.0130.00516.54
7.2.100.0070.01016.44
7.2.90.0120.00616.66
7.2.80.0040.00716.71
7.2.70.0060.01116.60
7.2.60.0010.01216.70
7.2.50.0060.00816.68
7.2.40.0090.01016.58
7.2.30.0120.00616.56
7.2.20.0080.01116.58
7.2.10.0100.00816.65
7.2.00.0080.00417.60
7.1.330.0080.00815.85
7.1.320.0040.01115.70
7.1.310.0040.00715.70
7.1.300.0040.00815.81
7.1.290.0110.00015.64
7.1.280.0060.00615.50
7.1.270.0000.01415.67
7.1.260.0000.01515.76
7.1.250.0040.00715.70
7.1.240.0060.00915.43
7.1.230.0000.01015.70
7.1.220.0060.00915.57
7.1.210.0030.01115.70
7.1.200.0020.00915.59
7.1.190.0100.00715.65
7.1.180.0120.00315.71
7.1.170.0060.00615.39
7.1.160.0090.00615.69
7.1.150.0060.01015.64
7.1.140.0000.01415.64
7.1.130.0060.00915.58
7.1.120.0000.01415.58
7.1.110.0070.00715.38
7.1.100.0070.00716.75
7.1.90.0000.01315.45
7.1.80.0030.01015.44
7.1.70.0040.00816.40
7.1.60.0080.00917.57
7.1.50.0050.01116.34
7.1.40.0000.00915.59
7.1.30.0060.00915.67
7.1.20.0060.00615.88
7.1.10.0080.00815.85
7.1.00.0020.04619.04
7.0.330.0070.00715.26
7.0.320.0000.01115.42
7.0.310.0040.00715.43
7.0.300.0000.01315.33
7.0.290.0050.00515.30
7.0.280.0060.01015.09
7.0.270.0060.00915.10
7.0.260.0090.00315.00
7.0.250.0030.01415.42
7.0.240.0090.00315.42
7.0.230.0040.01115.26
7.0.220.0060.00715.50
7.0.210.0030.00915.45
7.0.200.0080.00416.02
7.0.190.0040.01115.36
7.0.180.0000.01015.32
7.0.170.0060.00615.07
7.0.160.0060.00615.40
7.0.150.0060.00615.41
7.0.140.0050.03718.49
7.0.130.0070.00715.43
7.0.120.0030.00615.40
7.0.110.0030.00915.48
7.0.100.0070.00715.22
7.0.90.0070.00315.52
7.0.80.0090.00415.59
7.0.70.0000.01115.21
7.0.60.0100.04418.43
7.0.50.0060.03816.62
7.0.40.0090.03016.83
7.0.30.0110.02616.74
7.0.20.0200.02516.71
7.0.10.0100.04316.70
7.0.00.0050.04216.81
5.6.400.0000.01314.34
5.6.390.0090.00314.30
5.6.380.0000.01114.27
5.6.370.0100.00314.05
5.6.360.0030.00914.50
5.6.350.0080.00314.34
5.6.340.0030.01014.50
5.6.330.0000.01514.28
5.6.320.0090.00614.21
5.6.310.0030.00914.19
5.6.300.0000.01314.29
5.6.290.0080.00014.46
5.6.280.0050.04017.69
5.6.270.0100.00314.26
5.6.260.0000.01114.40
5.6.250.0080.00614.31
5.6.240.0030.01014.45
5.6.230.0030.01014.27
5.6.220.0050.00314.35
5.6.210.0100.02917.37
5.6.200.0050.02716.11
5.6.190.0070.04217.39
5.6.180.0120.03417.16
5.6.170.0250.03817.29
5.6.160.0030.02817.29
5.6.150.0070.04016.04
5.6.140.0060.03116.17
5.6.130.0070.02416.07
5.6.120.0080.02117.54
5.6.110.0100.02517.67
5.6.100.0060.02517.68
5.6.90.0070.04517.45
5.6.80.0060.03417.09
5.6.70.0070.00713.89
5.6.60.0090.00314.10
5.6.50.0060.00613.92
5.6.40.0100.00014.01
5.6.30.0000.01413.89
5.6.20.0060.00613.97
5.6.10.0060.00914.17
5.6.00.0090.00614.02
5.5.380.0030.01314.02
5.5.370.0060.01014.18
5.5.360.0120.00014.05
5.5.350.1910.01917.18
5.5.340.0020.04216.17
5.5.330.0030.03317.16
5.5.320.0170.03217.24
5.5.310.0170.02417.20
5.5.300.0050.04615.86
5.5.290.0070.02316.12
5.5.280.0030.03417.48
5.5.270.0050.02917.54
5.5.260.0100.03317.42
5.5.250.0030.05017.33
5.5.240.0210.03516.95
5.5.230.0030.00914.20
5.5.220.0060.00914.09
5.5.210.0060.00614.13
5.5.200.0050.00514.26
5.5.190.0040.01114.07
5.5.180.0080.00414.00
5.5.170.0000.01414.06
5.5.160.0060.00313.76
5.5.150.0070.00314.16
5.5.140.0030.01413.88
5.5.130.0100.00713.87
5.5.120.0060.00613.97
5.5.110.0070.00713.93
5.5.100.0060.00913.91
5.5.90.0110.00014.14
5.5.80.0060.01013.87
5.5.70.0030.00613.99
5.5.60.0060.00914.04
5.5.50.0040.00713.95
5.5.40.0070.00713.83
5.5.30.0060.00614.21
5.5.20.0070.00714.14
5.5.10.0040.01213.89
5.5.00.0060.00313.88
5.4.450.0080.03515.05
5.4.440.0140.02815.14
5.4.430.0120.02815.28
5.4.420.0200.03315.27
5.4.410.0130.02715.20
5.4.400.0060.03315.03
5.4.390.0100.03214.72
5.4.380.0090.03114.67
5.4.370.0030.03314.72
5.4.360.0100.02814.73
5.4.350.0080.03014.53
5.4.340.0080.03014.82
5.4.330.0060.00610.95
5.4.320.0080.02411.71
5.4.310.0080.02011.51
5.4.300.0050.02211.52
5.4.290.0070.02811.56
5.4.280.0070.03211.60
5.4.270.0070.02511.52
5.4.260.0030.02511.58
5.4.250.0080.02911.42
5.4.240.0060.02311.64
5.4.230.0060.02811.61
5.4.220.0110.02611.52
5.4.210.0060.02511.49
5.4.200.0060.02811.64
5.4.190.0020.02511.45
5.4.180.0100.02611.39
5.4.170.0040.03011.41
5.4.160.0070.02111.50
5.4.150.0070.02211.50
5.4.140.0100.02411.27
5.4.130.0090.02011.49
5.4.120.0080.02311.38
5.4.110.0070.02911.36
5.4.100.0100.03011.36
5.4.90.0050.02511.42
5.4.80.0040.03311.38
5.4.70.0040.02911.29
5.4.60.0080.02411.44
5.4.50.0040.02911.38
5.4.40.0100.02911.22
5.4.30.0040.02311.45
5.4.20.0070.02011.31
5.4.10.0040.03211.36
5.4.00.0080.03910.93
5.3.290.0060.02511.63
5.3.280.0100.03411.51
5.3.270.0070.03111.53
5.3.260.0120.03211.50
5.3.250.0050.03311.54
5.3.240.0050.02311.51
5.3.230.0050.03311.50
5.3.220.0110.03311.49
5.3.210.0140.03711.49
5.3.200.0040.03711.50
5.3.190.0040.03511.48
5.3.180.0050.03011.55
5.3.170.0050.03011.55
5.3.160.0080.05311.48
5.3.150.0130.03811.57
5.3.140.0050.03511.49
5.3.130.0100.04411.53
5.3.120.0090.03211.47
5.3.110.0070.03311.53
5.3.100.0040.02911.21
5.3.90.0070.03911.19
5.3.80.0090.03111.18
5.3.70.0100.03211.18
5.3.60.0080.03311.20
5.3.50.0070.02711.15
5.3.40.0090.01911.15
5.3.30.0060.02111.12
5.3.20.0060.02911.01
5.3.10.0100.02510.99
5.3.00.0090.03010.98
5.2.170.0100.0439.18
5.2.160.0030.0429.18
5.2.150.0060.0429.18
5.2.140.0070.0419.18
5.2.130.0060.0399.14
5.2.120.0090.0449.14
5.2.110.0070.0449.14
5.2.100.0090.0419.14
5.2.90.0060.0439.14
5.2.80.0040.0369.14
5.2.70.0120.0379.14
5.2.60.0080.0409.09
5.2.50.0090.0399.06
5.2.40.0090.0399.03
5.2.30.0140.0439.02
5.2.20.0090.0499.00
5.2.10.0120.0498.93
5.2.00.0050.0528.78
5.1.60.0110.0408.07
5.1.50.0070.0398.06
5.1.40.0080.0358.05
5.1.30.0100.0408.40
5.1.20.0070.0388.42
5.1.10.0060.0398.14
5.1.00.0070.0428.14
5.0.50.0060.0286.62
5.0.40.0050.0206.48
5.0.30.0030.0356.29
5.0.20.0060.0236.27
5.0.10.0060.0286.24
5.0.00.0070.0446.23
4.4.90.0040.0174.78
4.4.80.0040.0164.76
4.4.70.0050.0154.75
4.4.60.0040.0154.75
4.4.50.0030.0174.77
4.4.40.0060.0284.70
4.4.30.0050.0164.76
4.4.20.0030.0174.85
4.4.10.0040.0224.85
4.4.00.0020.0354.76
4.3.110.0080.0224.67
4.3.100.0020.0244.66
4.3.90.0050.0234.64
4.3.80.0140.0454.59
4.3.70.0030.0194.63
4.3.60.0040.0184.63
4.3.50.0030.0264.62
4.3.40.0040.0314.54
4.3.30.0030.0173.28
4.3.20.0030.0233.25
4.3.10.0010.0243.22
4.3.00.0000.0236.91

preferences:
30.75 ms | 403 KiB | 5 Q