3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Upload; class FileFactory { static public function autoload($name) { print '[['. $name .']]'; } } spl_autoload_register(__NAMESPACE__ .'\FileFactory::autoload'); // As of PHP 5.3.0 new InexistentClass;

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.0130.01018.43
8.3.50.0090.00722.05
8.3.40.0110.00418.76
8.3.30.0110.00418.94
8.3.20.0080.00620.33
8.3.10.0040.00423.65
8.3.00.0040.00422.44
8.2.180.0080.00816.63
8.2.170.0000.01522.96
8.2.160.0140.00720.86
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00819.23
8.2.110.0090.00022.11
8.2.100.0040.00817.72
8.2.90.0080.00019.22
8.2.80.0050.00317.97
8.2.70.0050.00317.38
8.2.60.0050.00318.03
8.2.50.0000.00918.07
8.2.40.0000.00817.91
8.2.30.0000.00818.04
8.2.20.0050.00317.64
8.2.10.0070.00017.73
8.2.00.0000.00717.66
8.1.280.0080.00625.92
8.1.270.0050.00323.84
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00423.97
8.1.230.0080.00419.13
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0040.00417.54
8.1.180.0030.00518.10
8.1.170.0040.00418.65
8.1.160.0000.00721.93
8.1.150.0060.00318.62
8.1.140.0100.00017.37
8.1.130.0030.00317.82
8.1.120.0040.00417.30
8.1.110.0020.00517.41
8.1.100.0000.00717.36
8.1.90.0040.00417.25
8.1.80.0050.00217.28
8.1.70.0030.00317.27
8.1.60.0030.00617.53
8.1.50.0030.00617.45
8.1.40.0000.00817.46
8.1.30.0060.00317.55
8.1.20.0050.00417.54
8.1.10.0070.00017.52
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0030.00317.18
8.0.280.0030.00318.45
8.0.270.0040.00417.25
8.0.260.0090.00016.94
8.0.250.0000.00716.96
8.0.240.0050.00217.03
8.0.230.0030.00517.05
8.0.220.0030.00316.85
8.0.210.0040.00416.97
8.0.200.0000.00617.00
8.0.190.0040.00416.98
8.0.180.0030.00516.96
8.0.170.0070.00017.01
8.0.160.0070.00016.78
8.0.150.0040.00416.86
8.0.140.0000.00716.82
8.0.130.0000.00513.47
8.0.120.0030.00516.93
8.0.110.0050.00316.83
8.0.100.0040.00417.01
8.0.90.0030.00317.04
8.0.80.0090.00616.98
8.0.70.0040.00416.89
8.0.60.0050.00216.75
8.0.50.0040.00416.78
8.0.30.0110.00817.19
8.0.20.0140.00817.40
8.0.10.0000.00816.95
8.0.00.0090.00916.66
7.4.330.0050.00015.00
7.4.320.0000.00616.48
7.4.300.0000.00616.51
7.4.290.0040.00416.53
7.4.280.0070.00016.34
7.4.270.0070.00016.46
7.4.260.0030.00316.52
7.4.250.0050.00216.49
7.4.240.0050.00216.49
7.4.230.0000.00716.44
7.4.220.0070.01416.40
7.4.210.0040.01216.46
7.4.200.0000.00816.34
7.4.190.0000.00816.49
7.4.160.0070.01116.43
7.4.150.0000.02017.40
7.4.140.0100.00717.86
7.4.130.0110.00816.50
7.4.120.0060.01416.56
7.4.110.0070.01116.52
7.4.100.0090.01316.43
7.4.90.0060.01216.52
7.4.80.0090.00916.49
7.4.70.0140.00816.54
7.4.60.0070.01116.30
7.4.50.0030.00516.59
7.4.40.0100.00622.77
7.4.30.0060.00916.40
7.4.00.0100.00314.91
7.3.330.0070.00013.19
7.3.320.0050.00013.36
7.3.310.0040.00416.45
7.3.300.0060.00016.21
7.3.290.0060.00916.35
7.3.280.0110.00516.34
7.3.270.0110.00717.40
7.3.260.0090.00916.28
7.3.250.0070.01016.38
7.3.240.0070.01016.50
7.3.230.0060.00916.41
7.3.210.0080.00816.50
7.3.200.0110.00719.39
7.3.190.0070.01216.59
7.3.180.0060.01016.53
7.3.170.0090.00916.37
7.3.160.0090.01216.44
7.3.120.0070.00714.93
7.3.10.0060.01116.56
7.3.00.0030.01016.59
7.2.330.0160.00316.70
7.2.320.0100.00716.80
7.2.310.0140.00716.39
7.2.300.0060.01016.46
7.2.290.0070.01016.60
7.2.130.0100.00316.81
7.2.120.0050.01016.71
7.2.110.0100.00716.68
7.2.100.0030.00816.84
7.2.90.0030.01216.77
7.2.80.0050.00816.74
7.2.70.0030.01016.92
7.2.60.0090.01016.83
7.2.50.0080.00816.77
7.2.40.0100.00516.96
7.2.30.0090.00416.69
7.2.20.0090.00516.76
7.2.10.0110.00316.94
7.2.00.0080.00516.76
7.1.250.0060.00715.66
7.1.240.0040.00815.71
7.1.230.0070.00715.70
7.1.220.0030.01015.41
7.1.210.0110.00315.38
7.1.200.0020.01115.65
7.1.190.0090.00015.48
7.1.180.0030.01015.56
7.1.170.0130.00315.58
7.1.160.0030.00615.59
7.1.150.0080.00315.68
7.1.140.0060.00915.75
7.1.130.0080.00615.45
7.1.120.0070.00715.68
7.1.110.0030.01015.73
7.1.100.0030.00616.94
7.1.90.0030.00915.62
7.1.80.0120.00015.55
7.1.70.0050.01016.21
7.1.60.0100.00817.48
7.1.50.0130.00925.23
7.1.40.0070.00415.55
7.1.30.0040.00415.82
7.1.20.0000.01015.61
7.1.10.0130.00015.82
7.1.00.0080.03719.02
7.0.330.0120.00315.34
7.0.320.0040.00714.98
7.0.310.0040.00715.05
7.0.300.0040.01115.33
7.0.290.0090.00315.34
7.0.280.0090.00315.39
7.0.270.0030.01015.15
7.0.260.0030.01015.25
7.0.250.0070.00715.43
7.0.240.0040.00815.33
7.0.230.0000.01415.45
7.0.220.0090.00315.12
7.0.210.0070.00715.52
7.0.200.0070.00616.00
7.0.190.0070.00715.24
7.0.180.0040.00415.30
7.0.170.0040.00715.41
7.0.160.0080.00315.32
7.0.150.0080.00415.17
7.0.140.0070.03718.68
7.0.130.0030.01015.36
7.0.120.0040.00815.45
7.0.110.0040.00415.30
7.0.100.0000.01415.27
7.0.90.0070.00415.36
7.0.80.0000.01015.18
7.0.70.0040.00715.29
7.0.60.0100.04217.65
7.0.50.0070.04116.60
7.0.40.0080.04016.91
7.0.30.0180.03716.84
7.0.20.0160.04316.82
7.0.10.0120.04016.87
7.0.00.0070.02816.75
5.6.380.0040.00714.30
5.6.370.0070.00314.38
5.6.360.0040.01114.22
5.6.350.0100.00614.39
5.6.340.0040.01414.28
5.6.330.0080.00814.22
5.6.320.0070.01013.99
5.6.310.0070.00414.36
5.6.300.0000.00914.38
5.6.290.0100.00014.44
5.6.280.0100.03517.76
5.6.270.0030.00613.92
5.6.260.0060.00614.00
5.6.250.0000.01414.18
5.6.240.0000.00914.26
5.6.230.0090.00314.04
5.6.220.0070.00713.96
5.6.210.0090.04517.22
5.6.200.0080.02816.15
5.6.190.0040.03117.35
5.6.180.0130.02317.25
5.6.170.0150.03017.44
5.6.160.0080.04217.38
5.6.150.0080.04116.23
5.6.140.0020.03716.28
5.6.130.0060.04516.20
5.6.120.0060.04617.64
5.6.110.0070.02217.58
5.6.100.0020.03117.49
5.6.90.0060.02417.68
5.6.80.0090.04117.26
5.6.70.0090.00614.10
5.6.60.0030.01013.86
5.6.50.0040.00714.14
5.6.40.0040.00714.15
5.6.30.0030.01114.03
5.6.20.0140.00314.40
5.6.10.0070.00714.03
5.6.00.0100.00714.13
5.5.380.0040.00411.18
5.5.370.0030.00911.18
5.5.360.0090.00011.33
5.5.350.0050.03715.83
5.5.340.0140.02014.61
5.5.330.0050.02515.87
5.5.320.1670.02415.74
5.5.310.0140.02415.76
5.5.300.0020.03114.57
5.5.290.0020.04414.68
5.5.280.0110.02515.92
5.5.270.0080.04315.98
5.5.260.0080.04515.93
5.5.250.0050.02915.88
5.5.240.0030.03815.71
5.5.230.0060.00611.18
5.5.220.0030.00711.18
5.5.210.0000.01111.18
5.5.200.0080.00411.18
5.5.190.0070.00711.18
5.5.180.0040.00411.18
5.5.170.0040.00811.18
5.5.160.0030.00911.21
5.5.150.0040.00711.18
5.5.140.0110.00311.18
5.5.130.0000.00611.18
5.5.120.0000.00811.18
5.5.110.0070.00011.22
5.5.100.0000.01011.18
5.5.90.0030.00311.18
5.5.80.0070.00311.18
5.5.70.0030.00711.18
5.5.60.0060.00311.18
5.5.50.0000.01111.18
5.5.40.0030.00511.18
5.5.30.0000.01111.18
5.5.20.0100.00311.18
5.5.10.0000.00811.18
5.5.00.0070.00411.18
5.4.450.0990.02215.36
5.4.440.1070.01815.24
5.4.430.1090.02615.24
5.4.420.1080.01815.33
5.4.410.1060.02115.23
5.4.400.1370.02015.21
5.4.390.0980.02115.20
5.4.380.1210.02315.18
5.4.370.1200.02315.13
5.4.360.1210.01915.08
5.4.350.1000.02115.22
5.4.340.0980.02215.17
5.4.330.0060.00311.18
5.4.320.1080.02615.21
5.4.310.1000.02215.16
5.4.300.1020.01915.21
5.4.290.0980.02515.09
5.4.280.1000.02215.15
5.4.270.1120.02415.08
5.4.260.0130.02715.14
5.4.250.0900.02215.24
5.4.240.1220.02315.21
5.4.230.1040.01715.06
5.4.220.0920.01815.18
5.4.210.1070.02215.12
5.4.200.1020.02415.13
5.4.190.1030.02815.08
5.4.180.0950.02515.19
5.4.170.0980.02015.18
5.4.160.1130.02715.06
5.4.150.1120.02315.20
5.4.140.1140.02513.79
5.4.130.1120.02513.83
5.4.120.1020.02713.85
5.4.110.0930.02513.87
5.4.100.1030.02613.77
5.4.90.0960.02013.81
5.4.80.1060.01913.80
5.4.70.0970.02313.86
5.4.60.1010.02113.70
5.4.50.1080.02513.80
5.4.40.1110.02113.84
5.4.30.0980.02113.84
5.4.20.1100.01813.84
5.4.10.0960.02313.84
5.4.00.1120.02013.56
5.3.290.1020.02212.90
5.3.280.1270.01512.83
5.3.270.1000.02212.89
5.3.260.1050.02312.88
5.3.250.1100.02512.89
5.3.240.1090.02213.01
5.3.230.1100.02512.88
5.3.220.1030.02512.88
5.3.210.1120.02412.89
5.3.200.0980.02312.94
5.3.190.0980.02212.87
5.3.180.1130.02512.98
5.3.170.1100.02412.87
5.3.160.0990.02412.85
5.3.150.0200.02012.85
5.3.140.0080.03512.82
5.3.130.0050.03412.92
5.3.120.0300.03112.88
5.3.110.1050.02512.91
5.3.100.0920.02012.57
5.3.90.0900.02012.59
5.3.80.0700.02112.55
5.3.70.0910.02112.64
5.3.60.0850.02012.55
5.3.50.0970.02312.67
5.3.40.1280.02112.56
5.3.30.0730.02412.60
5.3.20.0950.02212.49
5.3.10.0850.01812.42
5.3.00.1030.01812.47
5.2.170.0800.02011.08
5.2.160.0780.01311.16
5.2.150.0750.01611.08
5.2.140.0740.01711.10
5.2.130.0880.01211.07
5.2.120.0730.01711.11
5.2.110.0830.02011.16
5.2.100.0730.01811.14
5.2.90.0860.01611.15
5.2.80.1020.01311.08
5.2.70.0780.02011.16
5.2.60.0620.02211.19
5.2.50.0720.01911.17
5.2.40.0670.01311.09
5.2.30.0700.01510.99
5.2.20.0710.01310.99
5.2.10.0630.02010.95
5.2.00.0630.01810.89
5.1.60.0660.01510.62
5.1.50.0680.01210.61
5.1.40.0630.01110.52
5.1.30.0750.01810.80
5.1.20.0830.01310.84
5.1.10.0800.01310.58
5.1.00.0770.01710.66
5.0.50.0310.0149.90
5.0.40.0330.0129.90
5.0.30.0360.0169.90
5.0.20.0430.0169.90
5.0.10.0430.0139.90
5.0.00.0350.0159.90
4.4.90.0430.0139.90
4.4.80.0340.0109.90
4.4.70.0420.0129.90
4.4.60.0420.0109.90
4.4.50.0400.0159.90
4.4.40.0300.0179.90
4.4.30.0040.0089.90
4.4.20.0040.0169.90
4.4.10.0020.0179.90
4.4.00.0010.0169.90
4.3.110.0020.0119.90
4.3.100.0030.0139.90
4.3.90.0010.0159.90
4.3.80.0020.0159.90
4.3.70.0000.0209.90
4.3.60.0020.0139.90
4.3.50.0250.0119.90
4.3.40.0380.0209.90
4.3.30.0220.0169.90
4.3.20.0170.0089.90
4.3.10.0190.0079.90
4.3.00.0220.0139.90

preferences:
44.18 ms | 400 KiB | 5 Q