3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo() { static $i = 1; } var_dump((new ReflectionFunction('foo'))->getStaticVariables()['i']);

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.90.0040.00416.86
8.5.80.0100.00816.84
8.5.70.0090.00816.64
8.5.60.0110.00616.79
8.5.50.0100.00418.32
8.5.30.0100.00618.08
8.5.20.0120.00620.23
8.5.10.0110.01116.59
8.5.00.0100.01222.86
8.4.240.0110.00919.46
8.4.230.0110.00619.37
8.4.220.0120.00919.34
8.4.210.0100.01221.13
8.4.180.0170.00719.60
8.4.170.0110.01124.05
8.4.160.0120.01121.89
8.4.150.0080.00516.78
8.4.140.0390.01017.22
8.4.130.0370.00916.96
8.4.120.0420.01317.44
8.4.110.0420.00917.39
8.4.100.0400.00817.11
8.4.90.0390.00817.58
8.4.80.0420.01017.45
8.4.70.0370.01017.60
8.4.60.0410.00617.12
8.4.50.0390.01017.05
8.4.40.0370.01217.10
8.4.30.0380.01317.56
8.4.20.0350.01417.60
8.4.10.0410.00717.30
8.3.330.0140.00918.45
8.3.320.0140.00518.38
8.3.310.0100.00918.41
8.3.300.0120.00820.88
8.3.290.0100.01020.83
8.3.280.0060.00516.15
8.3.270.0370.00716.43
8.3.260.0350.00916.82
8.3.250.0330.01116.50
8.3.240.0360.00816.19
8.3.230.0350.01016.59
8.3.220.0350.00916.31
8.3.210.0370.00916.57
8.3.200.0360.00816.60
8.3.190.0360.00816.40
8.3.180.0360.00916.21
8.3.170.0410.01116.25
8.3.160.0380.01116.19
8.3.150.0410.00716.42
8.3.140.0390.01316.64
8.3.130.0340.01116.41
8.3.120.0350.00916.32
8.3.110.0360.00616.40
8.3.100.0390.01016.48
8.3.90.0470.00816.24
8.3.80.0380.01016.70
8.3.70.0400.00816.25
8.3.60.0370.01116.29
8.3.50.0430.00716.19
8.3.40.0390.01017.26
8.3.30.0310.01117.48
8.3.20.0330.01317.05
8.3.10.0340.00917.52
8.3.00.0310.01017.38
8.2.320.0080.00917.88
8.2.310.0130.00617.90
8.2.300.0130.00720.16
8.2.290.0290.00916.69
8.2.280.0330.00516.38
8.2.270.0330.00916.54
8.2.260.0340.00916.35
8.2.250.0320.01116.41
8.2.240.0310.01016.36
8.2.230.0300.01016.19
8.2.220.0320.00816.19
8.2.210.0310.01016.25
8.2.200.0340.00816.19
8.2.190.0340.00616.19
8.2.180.0510.00616.32
8.2.170.0340.00917.56
8.2.160.0380.00617.64
8.2.150.0400.00917.26
8.2.140.0360.00917.25
8.2.130.0350.00717.47
8.2.120.0300.01217.68
8.2.110.0340.00717.48
8.2.100.0320.00817.66
8.2.90.0340.00717.31
8.2.80.0340.01217.45
8.2.70.0320.01017.45
8.2.60.0330.01017.38
8.2.50.0390.00917.26
8.2.40.0310.00817.61
8.2.30.0350.01017.43
8.2.20.0310.01017.48
8.2.10.0330.00717.29
8.2.00.0330.00917.10
8.1.340.0090.01021.75

preferences:
49.38 ms | 879 KiB | 5 Q