3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { $orig = $GLOBALS; messUp(); var_dump( isset( $orig['foo'] ) ); } function messUp() { $GLOBALS['foo'] = 42; } test();

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.10.0070.01119.17
8.5.00.0120.01020.13
8.4.160.0140.01020.66
8.4.150.0020.00014.05
8.4.140.0110.01317.46
8.4.130.0170.00317.38
8.4.120.0130.00724.11
8.4.110.0100.00922.62
8.4.100.0090.01118.93
8.4.90.0100.00918.81
8.4.80.0100.01018.74
8.4.70.0150.00517.81
8.4.60.0090.01118.73
8.4.50.0120.00819.61
8.4.40.0090.00917.61
8.4.30.0090.00922.16
8.4.20.0030.00719.65
8.4.10.0090.00024.05
8.3.290.0110.00820.72
8.3.280.0110.00818.43
8.3.270.0120.00716.73
8.3.260.0090.00916.49
8.3.250.0120.00718.98
8.3.240.0100.00917.29
8.3.230.0150.00616.68
8.3.220.0110.00718.88
8.3.210.0080.01016.91
8.3.200.0040.00516.76
8.3.190.0120.00817.11
8.3.180.0080.01018.43
8.3.170.0070.01118.77
8.3.160.0070.01118.25
8.3.150.0100.00720.77
8.3.140.0080.00020.89
8.3.130.0060.00318.53
8.3.120.0070.01019.15
8.3.110.0030.01216.38
8.3.100.0050.00324.06
8.3.90.0040.00426.77
8.3.80.0070.00318.31
8.3.70.0180.00418.56
8.3.60.0110.00418.30
8.3.50.0090.00616.47
8.3.40.0170.00320.10
8.3.30.0040.01118.95
8.3.20.0000.00824.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.300.0130.00720.53
8.2.290.0140.00420.57
8.2.280.0050.00618.46
8.2.270.0040.01516.70
8.2.260.0070.01117.24
8.2.250.0030.00618.65
8.2.240.0040.00417.19
8.2.230.0070.00320.94
8.2.220.0130.00337.54
8.2.210.0080.00026.77
8.2.200.0060.00318.17
8.2.190.0100.01316.58
8.2.180.0100.01016.38
8.2.170.0110.00418.96
8.2.160.0130.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00021.12
8.2.110.0030.00619.32
8.2.100.0080.00417.91
8.2.90.0080.00018.16
8.2.80.0030.00619.23
8.2.70.0130.00979.33
8.2.60.0160.00379.33
8.2.50.0150.00579.33
8.2.40.0090.00979.33
8.2.30.0000.01779.33
8.2.20.0130.00679.33
8.2.10.0060.01279.33
8.2.00.0090.00979.33
8.1.340.0120.00920.14
8.1.330.0100.00822.03
8.1.320.0110.00815.83
8.1.310.0080.00016.70
8.1.300.0160.00316.09
8.1.290.0060.00330.84
8.1.280.0140.00325.92
8.1.270.0040.00424.66
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.04
8.1.230.0120.00020.93
8.1.220.0000.00817.77
8.1.210.0040.00418.89
8.1.200.0170.00379.33
8.1.190.0170.00079.33
8.1.180.0110.00679.33
8.1.170.0160.00579.33
8.1.160.0140.00779.33
8.1.150.0140.00779.33
8.1.140.0190.00579.33
8.1.130.0160.00479.33
8.1.120.0190.00379.33
8.1.110.0130.00579.33
8.1.100.0090.00979.33
8.1.90.0120.00679.33
8.1.80.0130.00579.33
8.1.70.0100.01079.33
8.1.60.0130.00679.33
8.1.50.0150.00479.33
8.1.40.0160.00379.33
8.1.30.0110.00879.33
8.1.20.0120.00979.33
8.1.10.0160.00479.33
8.1.00.0180.00079.33
8.0.300.0040.00420.16
8.0.290.0150.00579.33
8.0.280.0200.00079.33
8.0.270.0180.00079.33
8.0.260.0140.00479.33
8.0.250.0090.00979.33
8.0.240.0160.00479.33
8.0.230.0150.00479.33
8.0.220.0100.00779.33
8.0.210.0130.00579.33
8.0.200.0110.00879.33
8.0.190.0140.00779.33
8.0.180.0190.00379.33
8.0.170.0150.00579.33
8.0.160.0140.00479.33
8.0.150.0230.00079.33
8.0.140.0130.00779.33
8.0.130.0090.00979.33
8.0.120.0140.00579.33
8.0.110.0120.00579.33
8.0.100.0180.00079.33
8.0.90.0150.00379.33
8.0.80.0110.00679.33
8.0.70.0160.00279.33
8.0.60.0150.00479.33
8.0.50.0170.00079.33
8.0.30.0160.00379.33
8.0.20.0180.00079.33
8.0.10.0130.00679.33

preferences:
33.35 ms | 403 KiB | 5 Q