3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { echo "in"; } foo(exit); echo "After";

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.130.0280.00817.80
8.4.120.0150.00719.02
8.4.110.0130.00818.34
8.4.100.0160.00417.59
8.4.90.0160.00519.12
8.4.80.0120.00618.14
8.4.70.0140.00819.03
8.4.60.0150.00519.21
8.4.50.0150.00518.07
8.4.40.0210.00417.94
8.4.30.0160.00618.23
8.4.20.0180.00318.52
8.4.10.0100.01218.53
8.3.260.0110.00616.46
8.3.250.0120.00716.40
8.3.240.0130.00616.63
8.3.230.0200.00916.58
8.3.220.0200.00618.59
8.3.210.0180.01117.49
8.3.200.0140.00616.61
8.3.190.0250.00816.65
8.3.180.0250.00717.65
8.3.170.0250.00916.69
8.3.160.0220.00717.86
8.3.150.0230.00916.59
8.3.140.0260.00417.19
8.3.130.0240.00716.89
8.3.120.0250.00717.37
8.3.110.0160.00717.04
8.3.100.0240.00621.51
8.3.90.0260.00521.87
8.3.80.0210.00719.67
8.3.70.0210.00819.08
8.3.60.0290.00719.67
8.3.50.0170.00719.57
8.3.40.0250.00620.29
8.3.30.0230.00620.15
8.3.20.0240.00520.04
8.3.10.0220.00720.08
8.3.00.0190.00820.05
8.2.290.0220.00716.72
8.2.280.0240.00717.12
8.2.270.0200.00916.37
8.2.260.0190.00516.29
8.2.250.0210.00616.71
8.2.240.0190.00816.77
8.2.230.0170.00718.34
8.2.220.0190.00721.18
8.2.210.0190.00521.79
8.2.200.0170.00720.43
8.2.190.0200.00619.03
8.2.180.0240.00619.46
8.2.170.0250.00620.23
8.2.160.0280.00420.17
8.2.150.0280.00520.08
8.2.140.0270.00819.99
8.2.130.0270.00820.22
8.2.120.0250.00720.12
8.2.110.0250.00720.25
8.2.100.0260.00620.14
8.2.90.0260.00620.15
8.2.80.0270.00520.23
8.2.70.0260.00620.07
8.2.60.0260.00620.14
8.2.50.0240.00720.07
8.2.40.0260.00720.17
8.2.30.0230.00820.05
8.2.20.0200.00920.13
8.2.10.0250.00520.06
8.2.00.0230.00720.05
8.1.330.0220.00616.12
8.1.320.0180.01116.62
8.1.310.0210.00815.95
8.1.300.0240.00616.37
8.1.290.0220.00520.31
8.1.280.0250.00619.27
8.1.270.0250.00619.96
8.1.260.0200.00919.98
8.1.250.0270.00719.99
8.1.240.0240.00519.94
8.1.230.0200.00819.93
8.1.220.0220.00619.98
8.1.210.0210.00819.90
8.1.200.0220.00619.83
8.1.190.0230.00619.81
8.1.180.0210.00719.87
8.1.170.0200.00619.86
8.1.160.0230.00619.84
8.1.150.0190.00619.89
8.1.140.0200.00719.79
8.1.130.0200.00619.87
8.1.120.0220.00519.91
8.1.110.0220.00620.00
8.1.100.0230.00619.88
8.1.90.0220.00720.07
8.1.80.0220.00719.88
8.1.70.0240.00619.85
8.1.60.0250.00720.04
8.1.50.0250.00620.10
8.1.40.0260.00620.02
8.1.30.0260.00820.06
8.1.20.0270.00520.20
8.1.10.0220.00920.06
8.1.00.0250.00520.08

preferences:
27.59 ms | 403 KiB | 5 Q