3v4l.org

run code in 200+ PHP versions simultaneously
<?php class Monkey{} $gibbon = new Monkey; $gibbon->name = 'Librarian'; function splort() { global $gibbon; if($gibbon->name == 'Librarian') echo "Ook."; else echo 'Boing!'; } register_shutdown_function('splort'); echo "Time for go to bed.";

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)
7.4.00.0040.01414.95
7.3.120.0090.00914.59
7.3.110.0070.01014.73
7.3.100.0020.01414.75
7.3.90.0040.01014.78
7.3.80.0040.00914.77
7.3.70.0060.00414.91
7.3.60.0000.01414.66
7.3.50.0100.00614.74
7.3.40.0030.00814.67
7.3.30.0000.01214.70
7.3.20.0050.00916.66
7.3.10.0050.00716.53
7.3.00.0200.00516.08
7.2.250.0060.01215.13
7.2.240.0030.01214.94
7.2.230.0060.00915.25
7.2.220.0070.00714.96
7.2.210.0030.00814.97
7.2.200.0070.00715.10
7.2.190.0080.00814.84
7.2.180.0130.00515.01
7.2.170.0070.00715.15
7.2.130.0350.00615.88
7.2.120.0410.00415.97
7.2.110.0300.00615.93
7.2.100.0370.00615.95
7.2.90.0600.00815.88
7.2.80.0350.00715.88
7.2.70.0450.00515.98
7.2.60.0310.00916.17
7.2.50.0400.00615.92
7.2.40.1090.00916.81
7.2.30.1070.00816.92
7.2.20.1110.00916.86
7.2.10.1080.00916.93
7.2.00.1090.00916.97
7.1.330.0060.00815.65
7.1.320.0080.00515.75
7.1.310.0030.01015.76
7.1.300.0040.00915.64
7.1.290.0050.00915.66
7.1.280.0050.00915.77
7.1.270.0090.00515.70
7.1.260.0090.00415.75
7.1.250.0670.00714.73
7.1.240.0660.00313.96
7.1.230.0730.01213.68
7.1.220.0910.00313.90
7.1.210.0990.01013.80
7.1.200.0670.00514.91
7.1.190.1270.00714.00
7.1.180.0710.00014.00
7.1.170.0790.00613.83
7.1.160.1470.00915.78
7.1.150.1340.00815.78
7.1.140.1510.01015.75
7.1.130.1480.00915.86
7.1.120.1320.00815.59
7.1.110.1420.01115.50
7.1.100.1270.00915.61
7.1.90.1510.00815.41
7.1.80.1440.01115.49
7.1.70.1250.00814.84
7.1.60.1300.01126.72
7.1.50.1490.01426.54
7.1.40.1000.01126.42
7.1.30.1480.01226.31
7.1.20.1580.01326.46
7.1.10.1130.00814.61
7.1.00.1260.01014.67
7.0.330.0970.00713.73
7.0.320.0640.00613.52
7.0.310.0960.01013.66
7.0.300.0280.00513.38
7.0.290.1540.01114.98
7.0.280.0840.00013.54
7.0.270.1010.00514.88
7.0.260.1380.00914.87
7.0.250.1310.00814.74
7.0.240.1210.01414.41
7.0.230.1340.00714.89
7.0.220.1100.01014.98
7.0.210.0980.01114.29
7.0.200.0930.00714.34
7.0.190.0920.01014.13
7.0.180.0920.01113.99
7.0.170.1530.01013.99
7.0.160.1020.00613.91
7.0.150.0650.01013.89
7.0.140.0680.00814.15
7.0.130.0690.00614.12
7.0.120.0770.00914.04
7.0.110.1230.01114.13
7.0.100.0750.01014.02
7.0.90.0880.01313.99
7.0.80.0610.00713.91
7.0.70.0680.00614.02
7.0.60.0830.01413.87
7.0.50.0720.00714.15
7.0.40.0750.00514.03
7.0.30.0780.01014.24
7.0.20.0730.01014.13
7.0.10.0790.01114.13
7.0.00.0770.00614.03
5.6.380.0170.00914.49
5.6.370.0090.01314.07
5.6.360.0080.01314.70
5.6.350.0040.01214.53
5.6.340.0140.00714.18
5.6.330.0160.00314.30
5.6.320.0170.00414.68
5.6.310.0160.00514.60
5.6.300.0160.03918.55
5.6.290.0150.04118.57
5.6.280.0200.04518.68
5.6.270.0150.04218.61
5.6.260.0140.04118.83
5.6.250.0140.04118.71
5.6.240.0130.04418.68
5.6.230.0110.04718.65
5.6.220.0130.04218.66
5.6.210.0150.04818.79
5.6.200.0110.04618.67
5.6.190.0150.04518.70
5.6.180.0170.04518.56
5.6.170.0160.04018.58
5.6.160.0140.04118.54
5.6.150.0160.04318.61
5.6.140.0210.04018.64
5.6.130.0160.04218.63
5.6.120.0160.04718.74
5.6.110.0160.04318.59
5.6.100.0170.04818.66
5.6.90.0150.04218.72
5.6.80.0130.04318.37
5.6.70.0110.04718.22
5.6.60.0150.03918.31
5.6.50.0160.03918.26
5.6.40.0160.03818.16
5.6.30.0100.04518.18
5.6.20.0150.04118.19
5.6.10.0160.04918.15
5.6.00.0190.04318.24
5.5.380.0090.03214.33
5.5.370.0100.03114.45
5.5.360.0160.03114.21
5.5.350.0140.02714.47
5.5.340.0140.02914.52
5.5.330.0100.03214.71
5.5.320.0150.02914.58
5.5.310.0150.02914.58
5.5.300.0140.03014.66
5.5.290.0150.02914.48
5.5.280.0130.03114.45
5.5.270.0140.03314.58
5.5.260.0090.03514.69
5.5.250.0120.04114.46
5.5.240.0110.03114.32
5.5.230.0140.02914.34
5.5.220.0090.03314.19
5.5.210.0080.03314.18
5.5.200.0070.03414.22
5.5.190.0080.03514.21
5.5.180.0160.02614.32
5.5.170.0110.00411.02
5.5.160.0150.02714.22
5.5.150.0140.03714.16
5.5.140.0150.03414.36
5.5.130.0130.02714.33
5.5.120.0100.03014.34
5.5.110.0140.02914.29
5.5.100.0150.02514.27
5.5.90.0170.03114.20
5.5.80.0170.03714.20
5.5.70.0120.03114.23
5.5.60.0150.02714.12
5.5.50.0160.02714.14
5.5.40.0120.03014.10
5.5.30.0120.02814.11
5.5.20.0130.02813.88
5.5.10.0150.02714.23
5.5.00.0170.02613.83
5.4.450.0160.03215.16
5.4.440.0140.03115.33
5.4.430.0130.03915.13
5.4.420.0140.03015.20
5.4.410.0120.03415.10
5.4.400.0150.02715.18
5.4.390.0110.03015.06
5.4.380.0180.03714.98
5.4.370.0090.03214.97
5.4.360.0090.03214.94
5.4.350.0150.03715.13
5.4.340.0190.03414.99
5.4.330.0080.00811.13
5.4.320.0120.02915.10
5.4.310.0120.03114.95
5.4.300.0120.02815.05
5.4.290.0160.02615.05
5.4.280.0150.02515.07
5.4.270.0100.03015.03
5.4.260.0130.03015.00
5.4.250.0120.02914.96
5.4.240.0120.02814.93
5.4.230.0150.02715.15
5.4.220.0120.03114.96
5.4.210.0180.02615.00
5.4.200.0150.02615.04
5.4.190.0120.02815.02
5.4.180.0100.03014.92
5.4.170.0150.02715.08
5.4.160.0130.03014.96
5.4.150.0110.03015.14
5.4.140.0140.03113.85
5.4.130.0150.02413.83
5.4.120.0150.02613.63
5.4.110.0140.02513.95
5.4.100.0100.02813.78
5.4.90.0120.02613.86
5.4.80.0160.02913.75
5.4.70.0140.02513.80
5.4.60.0110.02813.89
5.4.50.0170.02413.89
5.4.40.0120.02813.84
5.4.30.0110.02913.74
5.4.20.0110.02813.92
5.4.10.0090.03013.79
5.4.00.0110.02613.34
5.3.290.0080.03212.84
5.3.280.0110.03012.71
5.3.270.0120.02812.80
5.3.260.0090.03112.66
5.3.250.0140.02512.67
5.3.240.0120.03712.68
5.3.230.0130.02612.60
5.3.220.0150.02512.56
5.3.210.0120.03912.55
5.3.200.0110.02812.54
5.3.190.0140.02912.65
5.3.180.0130.02812.65
5.3.170.0150.02512.64
5.3.160.0150.02512.76
5.3.150.0110.03512.46
5.3.140.0140.02612.61
5.3.130.0090.03112.61
5.3.120.0130.02812.48
5.3.110.0130.02812.68
5.3.100.0170.02012.39
5.3.90.0140.02612.35
5.3.80.0140.03512.31
5.3.70.0120.03612.41
5.3.60.0140.03312.25
5.3.50.0090.03212.21
5.3.40.0140.02912.36
5.3.30.0140.02712.32
5.3.20.0160.02012.04
5.3.10.0130.02812.05
5.3.00.0080.03212.12
5.2.170.0080.03410.40
5.2.160.0110.03210.41
5.2.150.0080.02410.35
5.2.140.0080.02310.37
5.2.130.0100.02110.44
5.2.120.0090.02110.46
5.2.110.0090.02310.41
5.2.100.0120.02110.35
5.2.90.0060.02510.32
5.2.80.0110.02210.36
5.2.70.0100.02010.32
5.2.60.0070.02410.23
5.2.50.0060.02610.32
5.2.40.0110.02610.33
5.2.30.0120.01910.08
5.2.20.0100.02910.23
5.2.10.0090.02010.18
5.2.00.0080.02310.02
5.1.60.0090.0199.49
5.1.50.0080.0229.62
5.1.40.0090.0179.63
5.1.30.0090.0189.79
5.1.20.0080.0209.78
5.1.10.0100.0189.67
5.1.00.0090.0199.53
5.0.50.0070.0158.88
5.0.40.0060.0158.84
5.0.30.0060.0238.73
5.0.20.0040.0178.73
5.0.10.0050.0168.73
5.0.00.0070.0248.73
4.4.90.0070.0158.73
4.4.80.0030.0148.73
4.4.70.0050.0128.73
4.4.60.0050.0128.73
4.4.50.0060.0128.73
4.4.40.0060.0188.73
4.4.30.0040.0138.73
4.4.20.0040.0138.73
4.4.10.0060.0118.73
4.4.00.0060.0168.73
4.3.110.0070.0118.73
4.3.100.0060.0118.73
4.3.90.0060.0118.73
4.3.80.0040.0198.73
4.3.70.0050.0118.73
4.3.60.0070.0108.73
4.3.50.0070.0108.73
4.3.40.0070.0168.73
4.3.30.0040.0128.73
4.3.20.0060.0108.73
4.3.10.0030.0138.73
4.3.00.0020.0148.73