3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __call($func, array $args) { echo "$func was called"; } } $f = new foo; echo $f-> I wish that PHP supported bare words,but this will have to do for now();

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.40.0110.00418.54
8.3.30.0070.00718.88
8.3.20.0000.00820.04
8.3.10.0030.00523.66
8.3.00.0040.00419.25
8.2.170.0070.01022.96
8.2.160.0030.01720.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0130.00926.16
8.2.120.0080.00020.86
8.2.110.0040.00421.00
8.2.100.0090.00317.73
8.2.90.0080.00019.21
8.2.80.0080.00017.97
8.2.70.0000.00917.25
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0000.01118.18
8.2.30.0050.00217.93
8.2.20.0040.00417.73
8.2.10.0050.00217.96
8.2.00.0070.00017.74
8.1.270.0080.00423.83
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.98
8.1.230.0120.00019.23
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00918.35
8.1.160.0030.00321.89
8.1.150.0030.00518.77
8.1.140.0030.00617.35
8.1.130.0070.00017.73
8.1.120.0060.00317.42
8.1.110.0000.00717.35
8.1.100.0040.00417.38
8.1.90.0030.00717.37
8.1.80.0000.00817.31
8.1.70.0070.00017.27
8.1.60.0030.00617.58
8.1.50.0000.00817.41
8.1.40.0000.00717.38
8.1.30.0030.00517.70
8.1.20.0030.00617.61
8.1.10.0000.00717.54
8.1.00.0040.00417.43
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.34
8.0.270.0030.00517.24
8.0.260.0030.00317.17
8.0.250.0070.00016.94
8.0.240.0060.00016.93
8.0.230.0000.00716.89
8.0.220.0040.00416.79
8.0.210.0070.00016.89
8.0.200.0030.00316.82
8.0.190.0030.00316.95
8.0.180.0020.00516.85
8.0.170.0050.00316.82
8.0.160.0040.00416.84
8.0.150.0040.00416.88
8.0.140.0040.00416.84
8.0.130.0030.00313.30
8.0.120.0050.00316.88
8.0.110.0040.00416.91
8.0.100.0000.00716.67
8.0.90.0000.00716.72
8.0.80.0160.00016.78
8.0.70.0000.00716.82
8.0.60.0000.00716.77
8.0.50.0040.00416.89
8.0.30.0120.00717.09
8.0.20.0100.01017.40
8.0.10.0060.00316.72
8.0.00.0110.00716.69
7.4.330.0050.00015.00
7.4.320.0040.00416.57
7.4.300.0030.00316.48
7.4.290.0030.00316.59
7.4.280.0040.00416.50
7.4.270.0000.00716.53
7.4.260.0060.00316.37
7.4.250.0070.00016.50
7.4.240.0000.00816.55
7.4.230.0000.00716.62
7.4.220.0090.00916.59
7.4.210.0030.01016.62
7.4.200.0030.00316.59
7.4.160.0120.00416.64
7.4.150.0130.00617.40
7.4.140.0060.01117.86
7.4.130.0120.00616.50
7.4.120.0050.01216.47
7.4.110.0080.00816.35
7.4.100.0180.00016.41
7.4.90.0100.00716.48
7.4.80.0070.01519.39
7.4.70.0070.01016.57
7.4.60.0080.00816.38
7.4.50.0040.00416.46
7.4.40.0110.00716.39
7.4.30.0060.00916.52
7.4.00.0070.01014.74
7.3.330.0060.00013.24
7.3.320.0050.00013.31
7.3.310.0030.00316.14
7.3.300.0000.00716.17
7.3.290.0090.00616.26
7.3.280.0100.00516.23
7.3.270.0070.01117.40
7.3.260.0140.00916.15
7.3.250.0110.00916.60
7.3.240.0090.01516.36
7.3.230.0120.00816.55
7.3.210.0080.01216.56
7.3.200.0100.01019.39
7.3.190.0110.00516.55
7.3.180.0100.00716.36
7.3.170.0140.00316.36
7.3.160.0060.00916.30
7.3.120.0070.01114.80
7.3.110.0060.00914.62
7.3.100.0070.00714.69
7.3.90.0060.00914.84
7.3.80.0030.01014.54
7.3.70.0070.00414.79
7.3.60.0040.01214.68
7.3.50.0030.00714.87
7.3.40.0070.00314.94
7.3.30.0140.00314.79
7.3.20.0070.00316.42
7.3.10.0110.00816.50
7.3.00.0080.00816.54
7.2.330.0090.00916.68
7.2.320.0040.01216.72
7.2.310.0040.01416.73
7.2.300.0130.01016.74
7.2.290.0170.01416.58
7.2.240.0110.00414.89
7.2.230.0090.00614.84
7.2.220.0000.01615.11
7.2.210.0000.01415.11
7.2.200.0000.01215.17
7.2.190.0000.01414.93
7.2.180.0040.01114.85
7.2.170.0070.00715.11
7.2.160.0120.00315.18
7.2.150.0030.01016.84
7.2.140.0030.01016.86
7.2.130.0050.00816.68
7.2.120.0090.01116.80
7.2.110.0120.00216.50
7.2.100.0090.00816.75
7.2.90.0090.00716.55
7.2.80.0080.00816.70
7.2.70.0130.00416.60
7.2.60.0080.01116.72
7.2.50.0080.00816.57
7.2.40.0060.01116.83
7.2.30.0120.00516.65
7.2.20.0160.00616.48
7.2.10.0130.01016.22
7.2.00.0060.01017.63
7.1.330.0060.00915.82
7.1.320.0000.01415.86
7.1.310.0090.00315.68
7.1.300.0000.01415.79
7.1.290.0090.00315.69
7.1.280.0070.01015.85
7.1.270.0070.00715.31
7.1.260.0110.00415.50
7.1.250.0090.00515.75
7.1.200.0030.00615.89
7.1.100.0060.00617.97
7.1.70.0030.00316.80
7.1.60.0120.00919.40
7.1.50.0070.01416.92
7.1.00.0100.07022.57
7.0.200.0000.00816.79
7.0.140.0030.07022.00
7.0.100.0070.04319.97
7.0.90.0070.07319.96
7.0.80.0200.06319.92
7.0.70.0130.08320.04
7.0.60.0030.09019.77
7.0.50.0200.06320.33
7.0.40.0100.04320.14
7.0.30.0070.04020.02
7.0.20.0030.05719.95
7.0.10.0070.08020.19
7.0.00.0030.09020.18
5.6.280.0070.07020.82
5.6.250.0100.07720.66
5.6.240.0130.06320.70
5.6.230.0000.08720.68
5.6.220.0070.04720.61
5.6.210.0030.04320.65
5.6.200.0070.07721.08
5.6.190.0030.05321.01
5.6.180.0030.04720.94
5.6.170.0300.06021.09
5.6.160.0030.05021.14
5.6.150.0130.07021.13
5.6.140.0070.06021.05
5.6.130.0030.07721.13
5.6.120.0130.05321.06
5.6.110.0100.08021.01
5.6.100.0030.09021.16
5.6.90.0130.06321.08
5.6.80.0100.05020.46
5.6.70.0130.04020.41
5.6.60.0100.07320.48
5.6.50.0030.08720.43
5.6.40.0070.03720.33
5.6.30.0100.08020.46
5.6.20.0070.03720.39
5.6.10.0130.04320.52
5.6.00.0070.04320.37
5.5.380.0130.07020.43
5.5.370.0070.05020.52
5.5.360.0170.07020.36
5.5.350.0030.07320.45
5.5.340.0100.03720.88
5.5.330.0070.05720.88
5.5.320.0100.06720.76
5.5.310.0100.08020.91
5.5.300.0100.08020.78
5.5.290.0070.06020.76
5.5.280.0200.06020.89
5.5.270.0130.04020.84
5.5.260.0130.06720.79
5.5.250.0000.07320.61
5.5.240.0100.06720.12
5.5.230.0030.05020.25
5.5.220.0070.07720.24
5.5.210.0100.04020.02
5.5.200.0030.05320.00
5.5.190.0130.07720.23
5.5.180.0070.05020.28
5.5.160.0200.06320.27
5.5.150.0000.04320.21
5.5.140.0100.07720.14
5.5.130.0130.04020.22
5.5.120.0030.06020.10
5.5.110.0200.06020.23
5.5.100.0000.04720.16
5.5.90.0130.04020.09
5.5.80.0100.07019.98
5.5.70.0030.08020.09
5.5.60.0070.04020.05
5.5.50.0070.04720.13
5.5.40.0070.04320.08
5.5.30.0030.04719.96
5.5.20.0100.04319.93
5.5.10.0100.04720.04
5.5.00.0070.06019.96
5.4.450.0070.04719.48
5.4.440.0130.07019.18
5.4.430.0070.07019.36
5.4.420.0070.07719.45
5.4.410.0000.07319.32
5.4.400.0030.04318.91
5.4.390.0100.05319.13
5.4.380.0130.07019.14
5.4.370.0130.06719.03
5.4.360.0070.07718.88
5.4.350.0100.06719.03
5.4.340.0030.08018.94
5.4.320.0070.05019.05
5.4.310.0100.03319.13
5.4.300.0030.06719.14
5.4.290.0130.06019.02
5.4.280.0030.04719.13
5.4.270.0100.07719.04
5.4.260.0130.07019.18
5.4.250.0070.07719.08
5.4.240.0070.07018.89
5.4.230.0030.07019.22
5.4.220.0130.06719.20
5.4.210.0170.06719.13
5.4.200.0130.06719.04
5.4.190.0070.07719.22
5.4.180.0030.06718.84
5.4.170.0100.04019.20
5.4.160.0070.07719.03
5.4.150.0030.07318.84
5.4.140.0000.04316.39
5.4.130.0070.05316.40
5.4.120.0070.06716.29
5.4.110.0030.07016.47
5.4.100.0030.07716.26
5.4.90.0070.04016.27
5.4.80.0070.06716.42
5.4.70.0000.05716.32
5.4.60.0070.04016.41
5.4.50.0030.07016.41
5.4.40.0100.07016.52
5.4.30.0000.08016.36
5.4.20.0030.04016.29
5.4.10.0030.06016.31
5.4.00.0030.07715.77
5.3.290.0030.04014.64
5.3.280.0200.06314.52
5.3.270.0070.07314.75
5.3.260.0130.05314.59
5.3.250.0070.07014.65
5.3.240.0070.07314.55
5.3.230.0030.08014.68
5.3.220.0330.03314.68
5.3.210.0100.07014.68
5.3.200.0030.04014.49
5.3.190.0000.07714.55
5.3.180.0030.04714.61
5.3.170.0000.07314.66
5.3.160.0030.08014.53
5.3.150.0070.05714.70
5.3.140.0000.03714.64
5.3.130.0030.05714.56
5.3.120.0000.04714.60
5.3.110.0100.06714.49
5.3.100.0030.07014.05
5.3.90.0070.04014.15
5.3.80.0070.06714.05
5.3.70.0070.03714.14
5.3.60.0070.05314.07
5.3.50.0030.06714.01
5.3.40.0100.07013.83
5.3.30.0000.05313.95
5.3.20.0030.04013.82
5.3.10.0030.04313.57
5.3.00.0130.07313.77
5.2.170.0000.06712.68
5.2.160.0030.03312.68
5.2.150.0030.04712.68
5.2.140.0130.05312.68
5.2.130.0000.03712.68
5.2.120.0030.06312.68
5.2.110.0070.06012.68
5.2.100.0070.03312.68
5.2.90.0000.06312.68
5.2.80.0000.05012.68
5.2.70.0100.04012.68
5.2.60.0070.05012.68
5.2.50.0030.05012.68
5.2.40.0030.04312.68
5.2.30.0100.03712.68
5.2.20.0030.04712.68
5.2.10.0030.04312.68
5.2.00.0070.03012.68
5.1.60.0070.05312.68
5.1.50.0030.02312.68
5.1.40.0070.04712.68
5.1.30.0000.04012.68
5.1.20.0070.02312.68
5.1.10.0070.05312.68
5.1.00.0070.04012.68
5.0.50.0070.02312.68
5.0.40.0030.02312.68
5.0.30.0030.03012.68
5.0.20.0070.02012.68
5.0.10.0030.03712.68
5.0.00.0070.06312.68
4.4.90.0070.01312.68
4.4.80.0030.01312.68
4.4.70.0030.02712.68
4.4.60.0000.03712.68
4.4.50.0070.03312.68
4.4.40.0030.04712.68
4.4.30.0030.03012.68
4.4.20.0000.03012.68
4.4.10.0030.01312.68
4.4.00.0070.05012.68
4.3.110.0030.01312.68
4.3.100.0000.02712.68
4.3.90.0070.02312.68
4.3.80.0000.03012.68
4.3.70.0030.02712.68
4.3.60.0000.02712.68
4.3.50.0000.03312.68
4.3.40.0030.05012.68
4.3.30.0030.03312.68
4.3.20.0000.03712.68
4.3.10.0000.03312.68
4.3.00.0000.03712.68

preferences:
45.68 ms | 400 KiB | 5 Q