3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oeffne($speicherpfad, $session_name) { echo $session_name; return(true); } function schliesse() { echo 'close'; return(true); } function lese($id) { echo 'read'; return ''; } function schreibe($id, $sess_daten) { echo 'write'; return true; } function loesche($id) { echo 'destory'; return true; } function gc($maxlifetime) { echo 'gc'; return true; } session_set_save_handler("oeffne", "schliesse", "lese", "schreibe", "loesche", "gc"); session_start(); session_set_save_handler("schliesse", "oeffne", "lese", "loesche", "schreibe", "gc");

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.3.60.0110.00716.63
8.3.50.0130.00521.02
8.3.40.0090.00918.79
8.3.30.0140.00420.17
8.3.20.0050.00220.20
8.3.10.0040.00421.95
8.3.00.0040.00422.25
8.2.180.0150.00418.29
8.2.170.0170.00322.96
8.2.160.0070.00720.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00019.65
8.2.110.0030.00719.21
8.2.100.0150.00017.91
8.2.90.0040.00419.02
8.2.80.0060.00319.32
8.2.70.0030.00517.38
8.2.60.0020.00517.80
8.2.50.0000.00818.07
8.2.40.0000.00718.16
8.2.30.0080.00017.96
8.2.20.0050.00317.59
8.2.10.0000.00717.62
8.2.00.0000.00817.65
8.1.280.0170.00325.92
8.1.270.0040.00420.30
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0040.00420.76
8.1.230.0030.00919.05
8.1.220.0060.00317.79
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0040.00417.43
8.1.180.0060.00320.11
8.1.170.0040.00418.53
8.1.160.0050.00322.13
8.1.150.0040.00418.43
8.1.140.0070.00017.20
8.1.130.0030.00317.83
8.1.120.0000.00717.36
8.1.110.0030.00517.29
8.1.100.0040.00417.20
8.1.90.0000.00717.27
8.1.80.0000.00717.34
8.1.70.0000.00717.29
8.1.60.0040.00417.34
8.1.50.0000.00717.36
8.1.40.0080.00017.39
8.1.30.0000.00717.34
8.1.20.0000.00817.45
8.1.10.0040.00417.41
8.1.00.0080.00017.36
8.0.300.0000.00718.77
8.0.290.0000.00817.18
8.0.280.0040.00418.38
8.0.270.0000.00717.24
8.0.260.0040.00416.82
8.0.250.0040.00417.00
8.0.240.0000.00716.85
8.0.230.0050.00216.84
8.0.220.0070.00016.70
8.0.210.0030.00316.84
8.0.200.0030.00316.82
8.0.190.0000.00716.80
8.0.180.0040.00416.89
8.0.170.0030.00516.85
8.0.160.0040.00416.78
8.0.150.0020.00516.72
8.0.140.0070.00316.63
8.0.130.0050.00013.21
8.0.120.0000.00816.81
8.0.110.0000.00716.87
8.0.100.0070.00016.83
8.0.90.0040.00416.70
8.0.80.0060.01216.79
8.0.70.0040.00316.77
8.0.60.0070.00016.66
8.0.50.0040.00416.81
8.0.30.0110.00717.01
8.0.20.0140.00917.40
8.0.10.0040.00416.95
8.0.00.0050.01716.70
7.4.330.0050.00015.00
7.4.320.0000.00716.38
7.4.300.0000.00616.39
7.4.290.0000.00816.39
7.4.280.0000.00616.35
7.4.270.0070.00016.23
7.4.260.0000.01116.45
7.4.250.0000.00716.34
7.4.240.0060.00216.42
7.4.230.0030.00316.45
7.4.220.0590.01316.45
7.4.210.0070.00816.43
7.4.200.0000.00716.41
7.4.190.0070.00016.42
7.4.160.0120.00916.36
7.4.150.0060.01117.40
7.4.140.0120.00617.86
7.4.130.0080.00816.46
7.4.120.0120.00516.54
7.4.110.0100.00716.43
7.4.100.0080.00816.45
7.4.90.0110.00616.35
7.4.80.0000.01719.39
7.4.70.0190.00316.56
7.4.60.0040.01316.51
7.4.50.0040.00416.37
7.4.40.0070.01122.77
7.4.30.0040.01216.48
7.4.00.0030.01314.61
7.3.330.0020.00213.36
7.3.320.0000.00613.30
7.3.310.0030.00316.36
7.3.300.0050.00216.18
7.3.290.0030.01016.25
7.3.280.0070.00816.23
7.3.270.0060.01117.40
7.3.260.0070.01016.35
7.3.250.0120.00516.29
7.3.240.0070.01116.27
7.3.230.0150.00916.39
7.3.210.0140.00316.41
7.3.200.0120.00419.39
7.3.190.0060.01116.38
7.3.180.0040.01716.56
7.3.170.0120.00416.43
7.3.160.0060.01016.40
7.3.120.0080.00916.00
7.3.110.0090.00715.99
7.3.100.0030.00915.99
7.3.90.0070.00815.92
7.3.80.0060.01116.03
7.3.70.0030.01015.95
7.3.60.0060.00815.83
7.3.50.0080.00815.84
7.3.40.0040.01015.98
7.3.30.0050.00815.90
7.3.20.0060.00716.92
7.3.10.0090.00316.87
7.3.00.0050.00716.78
7.2.330.0090.00916.57
7.2.320.0030.01416.64
7.2.310.0090.01216.65
7.2.300.0060.01016.52
7.2.290.0060.01216.34
7.2.250.0030.01215.10
7.2.240.0050.00916.08
7.2.230.0080.00415.99
7.2.220.0060.00716.06
7.2.210.0030.01116.00
7.2.200.0070.00915.85
7.2.190.0070.00915.85
7.2.180.0070.00915.80
7.2.170.0020.00815.84
7.2.160.0100.00317.15
7.2.150.0030.01517.15
7.2.140.0080.00617.15
7.2.130.0070.00717.15
7.2.120.0090.00617.15
7.2.110.0200.00816.70
7.2.100.0060.00917.15
7.2.90.0160.00017.15
7.2.80.0050.01016.71
7.2.70.0070.00417.15
7.2.60.0040.01016.80
7.2.50.0040.01417.15
7.2.40.0040.00817.15
7.2.30.0060.00917.15
7.2.20.0110.00417.15
7.2.10.0090.00617.15
7.2.00.0060.00618.20
7.1.330.0040.01216.50
7.1.320.0040.00716.50
7.1.310.0040.01116.42
7.1.300.0070.00916.32
7.1.290.0060.00816.38
7.1.280.0030.00916.45
7.1.270.0100.00616.51
7.1.260.0050.00916.44
7.1.250.0070.00717.15
7.1.200.0080.00415.79
7.1.100.0060.00618.11
7.1.70.0040.00417.09
7.1.60.0000.02419.50
7.1.50.0070.01516.85
7.1.00.0030.06022.41
7.0.200.0000.00816.46
7.0.140.0000.07322.19
7.0.60.1500.05020.01
7.0.50.0130.07717.95
7.0.40.0030.05320.18
7.0.30.0300.06320.30
7.0.20.0200.04020.05
7.0.10.0300.08020.06
7.0.00.0070.08720.15
5.6.280.0000.07721.00
5.6.210.0100.06020.79
5.6.200.0130.07718.16
5.6.190.0070.06020.41
5.6.180.0200.05720.43
5.6.170.0430.05720.58
5.6.160.0070.05020.55
5.6.150.0030.07018.28
5.6.140.0100.08018.29
5.6.130.0100.08318.18
5.6.120.0130.07321.02
5.6.110.0200.07021.12
5.6.100.0030.04320.95
5.6.90.0100.08021.11
5.6.80.0130.06720.36
5.6.70.0200.05320.36
5.5.350.0170.03320.33
5.5.340.0070.04318.04
5.5.330.0070.04320.27
5.5.320.0330.07020.36
5.5.310.0330.07320.31
5.5.300.0030.04718.08
5.5.290.0070.07017.98
5.5.280.0030.04320.77
5.5.270.0070.04320.65
5.5.260.0000.06320.77
5.5.250.0100.03320.47
5.5.240.0030.06720.04
5.4.450.0300.06719.52
5.4.440.0370.06719.55
5.4.430.0270.05019.50
5.4.420.0270.08319.38
5.4.410.0300.03319.38
5.4.400.0200.05019.07
5.4.390.0270.03718.95
5.4.380.0300.06318.98
5.4.370.0170.04018.95
5.4.360.0170.04718.94
5.4.350.0270.03718.98
5.4.340.0170.04018.85
5.4.320.0170.04018.99
5.4.310.0200.05018.95
5.4.300.0130.04019.23
5.4.290.0300.03019.23
5.4.280.0200.03719.23
5.4.270.0170.04019.22
5.4.260.0170.04319.18
5.4.250.0100.05019.25
5.4.240.0200.06018.86
5.4.230.0270.03719.31
5.4.220.0130.04319.21
5.4.210.0270.03019.14
5.4.200.0200.03719.21
5.4.190.0200.04018.82
5.4.180.0130.04319.02
5.4.170.0300.03019.15
5.4.160.0200.04019.20
5.4.150.0270.03318.96
5.4.140.0230.03016.40
5.4.130.0200.03716.56
5.4.120.0230.03016.33
5.4.110.0270.02716.44
5.4.100.0170.03716.61
5.4.90.0200.03716.61
5.4.80.0130.04016.57
5.4.70.0230.05316.49
5.4.60.0230.03716.43
5.4.50.0170.05016.58
5.4.40.0130.04716.48
5.4.30.0170.04016.56
5.4.20.0370.03316.32
5.4.10.0300.06716.42
5.4.00.0170.06715.79
5.3.290.0200.04014.64
5.3.280.0230.03714.52
5.3.270.0200.03314.73
5.3.260.0300.02714.66
5.3.250.0300.04714.61
5.3.240.0200.03314.50
5.3.230.0170.04314.61
5.3.220.0170.03714.54
5.3.210.0200.04014.47
5.3.200.0200.03714.64
5.3.190.0200.03314.54
5.3.180.0230.03714.56
5.3.170.0300.05314.68
5.3.160.0270.03014.57
5.3.150.0230.04714.68
5.3.140.0300.05014.55
5.3.130.0270.03014.52
5.3.120.0200.07714.63
5.3.110.0200.08014.46
5.3.100.0230.07014.13
5.3.90.0270.07013.95
5.3.80.0270.06014.25
5.3.70.0300.03314.18
5.3.60.0370.06313.96
5.3.50.0200.07313.87
5.3.40.0570.06313.93
5.3.30.0270.04313.89
5.3.20.0300.04713.62
5.3.10.0330.06013.75
5.3.00.0300.06313.73
5.2.170.0300.03011.06
5.2.160.0230.05011.09
5.2.150.0330.05311.09
5.2.140.0300.05711.06
5.2.130.0200.03011.04
5.2.120.0300.03011.09
5.2.110.0230.03011.07
5.2.100.0170.04011.19
5.2.90.0200.03711.11
5.2.80.0170.04011.18
5.2.70.0200.02711.17
5.2.60.0170.03311.01
5.2.50.0230.04711.11
5.2.40.0270.06311.08
5.2.30.0230.05710.91
5.2.20.0200.06011.06
5.2.10.0130.06310.87
5.2.00.0170.05710.80
5.1.60.0200.03010.61
5.1.50.0270.04710.61
5.1.40.0200.05310.61
5.1.30.0170.02710.61
5.1.20.0200.04710.61
5.1.10.0230.05310.61
5.1.00.0100.04310.61
5.0.50.0100.04010.61
5.0.40.0070.05310.61
5.0.30.0070.04310.61
5.0.20.0100.03710.61
5.0.10.0070.02310.61
5.0.00.0170.02710.61
4.4.90.0100.02310.61
4.4.80.0070.03010.61
4.4.70.0100.03310.61
4.4.60.0130.03310.61
4.4.50.0100.03310.61
4.4.40.0070.03310.61
4.4.30.0130.01310.61
4.4.20.0100.02710.61
4.4.10.0070.02010.61
4.4.00.0070.04710.61
4.3.110.0100.02710.61
4.3.100.0100.01710.61
4.3.90.0100.02010.61
4.3.80.0100.03310.61
4.3.70.0170.02010.61
4.3.60.0070.02710.61
4.3.50.0170.02710.61
4.3.40.0200.03310.61
4.3.30.0030.03310.61
4.3.20.0100.01710.61
4.3.10.0030.01710.61
4.3.00.0030.02710.61

preferences:
42.67 ms | 401 KiB | 5 Q