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.120.0120.00720.70
8.4.110.0110.00918.88
8.4.100.0060.00317.63
8.4.90.0110.00820.52
8.4.80.0040.00618.72
8.4.70.0070.01320.58
8.4.60.0140.00620.59
8.4.50.0160.00418.66
8.4.40.0080.00018.47
8.4.30.0130.00718.94
8.4.20.0160.00319.61
8.4.10.0040.01619.60
8.3.250.0080.00716.62
8.3.240.0030.00716.87
8.3.230.0120.00716.53
8.3.220.0110.00820.61
8.3.210.0080.01018.50
8.3.200.0050.00516.73
8.3.190.0110.00716.98
8.3.180.0110.00718.61
8.3.170.0110.00716.91
8.3.160.0130.00718.53
8.3.150.0070.01116.63
8.3.140.0180.00217.54
8.3.130.0210.00717.06
8.3.120.0240.00617.56
8.3.110.0140.00717.08
8.3.100.0200.00622.25
8.3.90.0220.00522.67
8.3.80.0190.00620.01
8.3.70.0200.00819.29
8.3.60.0280.00619.90
8.3.50.0160.00719.80
8.3.40.0230.00620.49
8.3.30.0230.00620.35
8.3.20.0230.00520.28
8.3.10.0220.00720.29
8.3.00.0180.00820.27
8.2.290.0100.00717.02
8.2.280.0130.00918.19
8.2.270.0110.00716.41
8.2.260.0080.00016.30
8.2.250.0190.00616.84
8.2.240.0170.00916.97
8.2.230.0170.00718.69
8.2.220.0180.00622.01
8.2.210.0190.00422.62
8.2.200.0160.00620.95
8.2.190.0200.00719.29
8.2.180.0250.00619.71
8.2.170.0260.00620.46
8.2.160.0290.00420.36
8.2.150.0290.00520.27
8.2.140.0270.00720.20
8.2.130.0260.00720.45
8.2.120.0250.00720.33
8.2.110.0250.00720.47
8.2.100.0260.00520.35
8.2.90.0250.00620.36
8.2.80.0260.00520.45
8.2.70.0260.00620.28
8.2.60.0250.00620.33
8.2.50.0230.00720.27
8.2.40.0240.00720.39
8.2.30.0220.00820.26
8.2.20.0190.00920.34
8.2.10.0240.00520.27
8.2.00.0220.00720.25
8.1.330.0130.00516.20
8.1.320.0080.01217.64
8.1.310.0080.00815.78
8.1.300.0230.00416.55
8.1.290.0200.00420.93
8.1.280.0240.00519.53
8.1.270.0250.00620.17
8.1.260.0210.00920.20
8.1.250.0270.00620.19
8.1.240.0230.00520.16
8.1.230.0190.00820.16
8.1.220.0220.00520.19
8.1.210.0200.00820.12
8.1.200.0220.00720.04
8.1.190.0220.00620.02
8.1.180.0200.00720.08
8.1.170.0200.00620.08
8.1.160.0230.00620.07
8.1.150.0200.00620.09
8.1.140.0190.00720.01
8.1.130.0200.00620.07
8.1.120.0220.00520.12
8.1.110.0220.00620.22
8.1.100.0230.00620.09
8.1.90.0220.00620.29
8.1.80.0210.00720.09
8.1.70.0230.00620.08
8.1.60.0240.00720.24
8.1.50.0250.00620.32
8.1.40.0260.00520.24
8.1.30.0250.00720.28
8.1.20.0270.00520.40
8.1.10.0220.00920.30
8.1.00.0250.00520.31

preferences:
31.33 ms | 403 KiB | 5 Q