3v4l.org

run code in 300+ PHP versions simultaneously
<?php use Bar\Foo; echo foo::class; echo PHP_EOL; echo Foo::class;

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.5.20.0110.00620.01
8.5.10.0090.00816.57
8.5.00.0140.00819.93
8.4.170.0100.01223.84
8.4.160.0130.00822.95
8.4.150.0020.00114.05
8.4.140.0120.00817.52
8.4.130.0120.00517.39
8.4.120.0100.00920.67
8.4.110.0120.00818.94
8.4.100.0110.00818.78
8.4.90.0100.01020.45
8.4.80.0080.00918.85
8.4.70.0060.00818.71
8.4.60.0110.00818.54
8.4.50.0110.00918.73
8.4.40.0100.01017.38
8.4.30.0040.01120.53
8.4.20.0120.00919.69
8.4.10.0030.00619.29
8.3.300.0090.01022.76
8.3.290.0150.00519.91
8.3.280.0020.00014.05
8.3.270.0090.01116.80
8.3.260.0120.00616.38
8.3.250.0130.00617.28
8.3.240.0100.00616.61
8.3.230.0080.01116.31
8.3.220.0090.01018.76
8.3.210.0110.00716.41
8.3.200.0110.00716.51
8.3.190.0070.00718.71
8.3.180.0090.00518.94
8.3.170.0180.00016.21
8.3.160.0040.00418.06
8.3.150.0040.01116.34
8.3.140.0040.00418.37
8.3.130.0060.00318.18
8.3.120.0060.00320.58
8.3.110.0080.01216.38
8.3.100.0110.00520.31
8.3.90.0310.00420.15
8.3.80.0270.00420.14
8.3.70.0210.00520.28
8.3.60.0200.00620.09
8.3.50.0210.00220.22
8.3.40.0130.00820.72
8.3.30.0180.00720.53
8.3.20.0220.00720.65
8.3.10.0210.00620.65
8.3.00.0180.00420.72
8.2.300.0140.00818.02
8.2.290.0150.00416.53
8.2.280.0130.00818.38
8.2.270.0120.00616.38
8.2.260.0150.00016.37
8.2.250.0090.00016.71
8.2.240.0060.01018.84
8.2.230.0050.00320.94
8.2.220.0170.00324.06
8.2.210.0150.00320.12
8.2.200.0160.00220.15
8.2.190.0200.00920.20
8.2.180.0180.00320.15
8.2.170.0250.00420.70
8.2.160.0180.00520.59
8.2.150.0170.00420.65
8.2.140.0200.00220.65
8.2.130.0220.00120.64
8.2.120.0200.00420.59
8.2.110.0170.00320.78
8.2.100.0120.00820.72
8.2.90.0270.00420.72
8.2.80.0190.00620.70
8.2.70.0090.00720.78
8.2.60.0090.00620.72
8.2.50.0150.00220.65
8.2.40.0110.00520.84
8.2.30.0220.00720.71
8.2.20.0220.00720.65
8.2.10.0200.00620.64
8.2.00.0210.00320.57
8.1.340.0120.00917.50
8.1.330.0100.01016.04
8.1.320.0110.00717.81
8.1.310.0070.00715.77
8.1.300.0100.00318.22
8.1.290.0120.00919.84
8.1.280.0230.00319.84
8.1.270.0200.00620.53
8.1.260.0230.00220.53
8.1.250.0240.00920.53
8.1.240.0200.01020.58
8.1.230.0190.00920.52
8.1.220.0240.00720.53
8.1.210.0200.01120.46
8.1.200.0200.00820.47
8.1.190.0230.01020.34
8.1.180.0210.00720.40
8.1.170.0230.00720.46
8.1.160.0160.00620.53
8.1.150.0130.00420.64
8.1.140.0140.00420.46
8.1.130.0180.00720.58
8.1.120.0270.00320.53
8.1.110.0210.00720.40
8.1.100.0200.01120.53
8.1.90.0210.00520.53
8.1.80.0260.00320.64
8.1.70.0250.00420.64
8.1.60.0270.00520.58
8.1.50.0270.00620.47
8.1.40.0200.01220.59
8.1.30.0190.01420.59
8.1.20.0230.00920.53
8.1.10.0250.00720.59
8.1.00.0230.00420.47

preferences:
65.11 ms | 403 KiB | 5 Q