3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dfgg = '1'; $GLOBALS = array('dfgg' => 1); //$GLOBALS = array(); function d() { $GLOBALS['dfgg']=3; $GLOBALS['eEhF']=4; } d(); print_r($GLOBALS);

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.0150.00318.43
8.3.50.0110.00921.99
8.3.40.0170.00018.47
8.3.30.0070.00720.08
8.3.20.0050.00220.25
8.3.10.0000.00721.92
8.3.00.0040.00422.29
8.2.180.0140.01016.63
8.2.170.0030.01022.96
8.2.160.0030.01022.26
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00419.64
8.2.110.0100.00022.29
8.2.100.0110.00417.66
8.2.90.0040.00419.01
8.2.80.0040.00419.21
8.2.70.0040.00417.38
8.2.60.0060.00319.41
8.2.50.0040.00418.07
8.2.40.0080.00018.08
8.2.30.0030.00517.87
8.2.20.0040.00417.45
8.2.10.0080.00017.55
8.2.00.0080.00317.45
8.1.280.0070.00725.92
8.1.270.0000.00824.66
8.1.260.0020.00526.35
8.1.250.0020.00528.09
8.1.240.0040.00423.84
8.1.230.0080.00319.24
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00017.04
8.1.180.0030.00518.89
8.1.170.0060.00318.45
8.1.160.0000.00822.12
8.1.150.0060.00318.41
8.1.140.0040.00417.32
8.1.130.0070.00017.80
8.1.120.0000.00717.37
8.1.110.0050.00217.20
8.1.100.0030.00517.36
8.1.90.0000.00717.29
8.1.80.0050.00317.33
8.1.70.0000.00817.34
8.1.60.0030.00617.43
8.1.50.0000.00817.29
8.1.40.0070.00017.34
8.1.30.0000.00817.49
8.1.20.0040.00417.57
8.1.10.0040.00417.21
8.1.00.0040.00417.22
8.0.300.0070.00018.77
8.0.290.0080.00017.18
8.0.280.0070.00018.33
8.0.270.0060.00317.14
8.0.260.0030.00316.82
8.0.250.0030.00317.00
8.0.240.0040.00417.00
8.0.230.0000.00716.96
8.0.220.0070.00016.79
8.0.210.0070.00016.77
8.0.200.0000.00716.95
8.0.190.0050.00317.00
8.0.180.0060.00616.90
8.0.170.0000.00816.92
8.0.160.0040.00416.97
8.0.150.0000.00716.81
8.0.140.0080.00016.86
8.0.130.0000.00613.30
8.0.120.0030.00516.81
8.0.110.0000.00716.96
8.0.100.0040.00416.83
8.0.90.0040.00416.89
8.0.80.0140.00716.86
8.0.70.0000.00716.77
8.0.60.0070.00016.88
8.0.50.0080.00016.93
8.0.30.0100.00916.90
8.0.20.0070.01217.40
8.0.10.0000.00716.81
8.0.00.0180.00316.87
7.4.330.0000.00615.00
7.4.320.0060.00016.58
7.4.300.0030.00316.61
7.4.290.0030.00316.50
7.4.280.0000.00716.41
7.4.270.0070.00016.50
7.4.260.0040.00416.47
7.4.250.0030.00516.55
7.4.240.0020.00616.56
7.4.230.0000.00716.51
7.4.220.0050.01116.55
7.4.210.0050.01016.59
7.4.200.0030.00316.61
7.4.190.0070.00016.73
7.4.160.0070.00716.63
7.4.150.0230.00017.40
7.4.140.0170.00517.86
7.4.130.0110.00716.42
7.4.120.0090.00816.35
7.4.110.0110.00716.35
7.4.100.0030.01516.36
7.4.90.0140.00416.39
7.4.80.0060.01519.39
7.4.70.0100.00616.50
7.4.60.0070.01016.53
7.4.50.0030.00616.41
7.4.40.0090.00322.77
7.4.30.0100.00716.56
7.4.00.0070.00714.98
7.3.330.0050.00013.30
7.3.320.0050.00013.29
7.3.310.0000.00716.26
7.3.300.0050.00316.19
7.3.290.0030.01016.32
7.3.280.0060.00916.33
7.3.270.0130.00317.40
7.3.260.0090.00916.60
7.3.250.0100.01016.30
7.3.240.0100.00716.30
7.3.230.0190.00316.57
7.3.210.0070.01016.56
7.3.200.0170.00419.39
7.3.190.0070.01316.40
7.3.180.0130.00316.29
7.3.170.0110.00516.45
7.3.160.0090.00616.34
7.3.120.0070.00714.87
7.2.330.0110.00716.65
7.2.320.0190.00416.26
7.2.310.0050.01116.70
7.2.300.0250.01416.65
7.2.290.0120.00316.76
7.2.00.0030.00719.48
7.1.100.0030.01417.69
7.1.70.0000.00717.35
7.1.60.0070.00717.29
7.1.50.0100.01017.09
7.1.00.0030.04322.36
7.0.200.0040.01216.47
7.0.140.0070.07022.05
7.0.60.0030.04019.96
7.0.50.0100.03317.87
7.0.40.0100.04020.13
7.0.30.0270.07320.06
7.0.20.0200.06720.37
7.0.10.0070.08320.15
7.0.00.0100.08320.22
5.6.280.0030.07320.91
5.6.210.0000.04320.57
5.6.200.0030.06018.29
5.6.190.0130.07720.45
5.6.180.3830.04020.64
5.6.170.0230.08020.47
5.6.160.0030.04020.44
5.6.150.0030.08718.19
5.6.140.0200.05718.11
5.6.130.0070.04318.16
5.6.120.0100.07321.00
5.6.110.0100.05020.89
5.6.100.0130.07721.05
5.6.90.0000.05320.98
5.6.80.0030.04020.40
5.6.70.4630.03320.38
5.5.350.0070.07320.32
5.5.340.0000.05318.03
5.5.330.0030.04320.37
5.5.320.0230.03720.30
5.5.310.0200.06320.34
5.5.300.0030.06317.98
5.5.290.0030.04018.08
5.5.280.0170.05320.83
5.5.270.0030.04320.63
5.5.260.0130.07720.94
5.5.250.0100.07720.59
5.5.240.0400.07020.16
5.4.450.0670.05319.62
5.4.440.1130.05319.70
5.4.430.1130.04719.45
5.4.420.0900.05019.47
5.4.410.0430.05319.45
5.4.400.1030.06018.67
5.4.390.1070.05318.84
5.4.380.0300.04718.58
5.4.370.0200.05318.70
5.4.360.0200.05018.79
5.4.350.0090.04012.02
5.4.340.0070.03612.02
5.4.320.0080.03812.51
5.4.310.0060.03812.50
5.4.300.0060.03812.51
5.4.290.0060.03812.50
5.4.280.0070.03612.39
5.4.270.0080.03712.40
5.4.260.0090.04212.39
5.4.250.0060.03712.40
5.4.240.0070.06018.89
5.4.230.0030.05318.89
5.4.220.0000.06318.95
5.4.210.0170.04318.78
5.4.200.0030.05718.69
5.4.190.0000.06018.75
5.4.180.0030.06019.04
5.4.170.0100.05018.96
5.4.160.0100.04719.04
5.4.150.0100.06018.70
5.4.140.0070.05016.37
5.4.130.0070.04716.55
5.4.120.0100.04316.37
5.4.110.0170.04316.30
5.4.100.0030.05016.60
5.4.90.0070.05016.27
5.4.80.0070.04716.42
5.4.70.0170.04016.42
5.4.60.0100.04316.43
5.4.50.0130.04016.39
5.4.40.0070.05016.46
5.4.30.0170.03716.24
5.4.20.0030.05016.33
5.4.10.0000.05716.33
5.4.00.0100.04716.00
5.3.290.0070.03812.80
5.3.280.0030.05714.72
5.3.270.0070.05014.68
5.3.260.0130.05014.69
5.3.250.0100.04714.66
5.3.240.0070.05014.61
5.3.230.0070.05014.68
5.3.220.0130.04314.64
5.3.210.0030.05314.70
5.3.200.0030.05714.64
5.3.190.0000.05714.64
5.3.180.0070.05014.64
5.3.170.0000.05314.64
5.3.160.0070.04714.55
5.3.150.0030.05014.73
5.3.140.0000.05314.63
5.3.130.0070.05314.45
5.3.120.0100.05014.53
5.3.110.0030.05314.62
5.3.100.0200.03713.88
5.3.90.0030.05013.98
5.3.80.0030.05014.11
5.3.70.0030.05314.09
5.3.60.0070.04714.01
5.3.50.0030.05313.96
5.3.40.0030.05014.03
5.3.30.0030.05013.98
5.3.20.0070.04713.70
5.3.10.0000.05013.47
5.3.00.0070.04713.86
5.2.170.0000.04311.21
5.2.160.0070.03711.30
5.2.150.0000.04711.22
5.2.140.0030.04011.36
5.2.130.0100.03711.18
5.2.120.0030.04011.32
5.2.110.0070.03711.00
5.2.100.0000.04711.27
5.2.90.0100.03311.31
5.2.80.0100.03711.07
5.2.70.0000.04311.30
5.2.60.0000.04711.03
5.2.50.0030.04311.00
5.2.40.0100.03311.09
5.2.30.0070.04011.13
5.2.20.0100.03711.04
5.2.10.0070.03711.03
5.2.00.0000.04310.56
5.1.60.0070.02710.06
5.1.50.0030.0339.96
5.1.40.0000.0379.93
5.1.30.0000.04010.41
5.1.20.0070.03710.18
5.1.10.0070.03310.07
5.1.00.0030.03710.14
5.0.50.0030.0278.56
5.0.40.0070.0278.39
5.0.30.0000.0438.21
5.0.20.0000.0308.28
5.0.10.0030.0278.16
5.0.00.0030.0408.41
4.4.90.0030.0205.84
4.4.80.0070.0175.84
4.4.70.0000.0235.75
4.4.60.0070.0205.80
4.4.50.0100.0135.87
4.4.40.0030.0305.84
4.4.30.0000.0235.86
4.4.20.0000.0235.81
4.4.10.0000.0235.97
4.4.00.0030.0335.86
4.3.110.0000.0235.77
4.3.100.0070.0135.74
4.3.90.0000.0205.72
4.3.80.0000.0335.74
4.3.70.0030.0205.66
4.3.60.0000.0205.82
4.3.50.0000.0235.74
4.3.40.0030.0335.70
4.3.30.0000.0234.79
4.3.20.0000.0234.79
4.3.10.0000.0234.79
4.3.00.0170.0176.84

preferences:
42.3 ms | 401 KiB | 5 Q