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("oeffne", "schliesse", "lese", "schreibe", "loesche", "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.0120.00618.31
8.3.50.0090.00821.02
8.3.40.0110.00418.79
8.3.30.0130.00020.29
8.3.20.0040.00420.16
8.3.10.0030.00521.96
8.3.00.0000.00722.50
8.2.180.0140.00716.38
8.2.170.0110.01122.96
8.2.160.0110.00320.41
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.64
8.2.110.0070.00419.54
8.2.100.0090.00317.78
8.2.90.0040.00417.63
8.2.80.0060.00318.78
8.2.70.0040.00417.50
8.2.60.0040.00417.35
8.2.50.0040.00417.68
8.2.40.0000.00919.35
8.2.30.0040.00418.06
8.2.20.0060.00317.65
8.2.10.0030.00617.67
8.2.00.0030.00617.72
8.1.280.0070.00725.92
8.1.270.0030.01320.36
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.01023.95
8.1.230.0040.00721.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0000.00722.06
8.1.150.0030.00618.51
8.1.140.0040.00417.32
8.1.130.0040.00417.70
8.1.120.0000.00717.23
8.1.110.0000.00817.31
8.1.100.0000.00717.33
8.1.90.0000.00717.32
8.1.80.0000.00717.34
8.1.70.0030.00517.36
8.1.60.0040.00417.44
8.1.50.0040.00417.33
8.1.40.0050.00317.27
8.1.30.0030.00517.40
8.1.20.0000.00817.59
8.1.10.0070.00017.51
8.1.00.0040.00417.31
8.0.300.0050.00318.77
8.0.290.0000.00716.63
8.0.280.0000.00818.32
8.0.270.0030.00317.06
8.0.260.0030.00316.88
8.0.250.0040.00416.88
8.0.240.0050.00316.82
8.0.230.0000.00616.87
8.0.220.0000.00816.79
8.0.210.0070.00016.71
8.0.200.0030.00316.78
8.0.190.0060.00316.88
8.0.180.0050.00316.84
8.0.170.0030.00516.76
8.0.160.0000.00816.70
8.0.150.0040.00416.85
8.0.140.0000.00716.82
8.0.130.0000.00513.29
8.0.120.0040.00416.68
8.0.110.0040.00416.85
8.0.100.0000.00816.79
8.0.90.0070.00016.63
8.0.80.0130.01016.80
8.0.70.0000.00816.86
8.0.60.0070.00016.71
8.0.50.0040.00416.84
8.0.30.0100.01217.07
8.0.20.0100.00817.40
8.0.10.0040.00416.84
8.0.00.0130.00616.71
7.4.330.0030.00315.00
7.4.320.0000.00616.44
7.4.300.0000.00616.37
7.4.290.0030.00316.46
7.4.280.0000.00716.40
7.4.270.0030.00516.43
7.4.260.0030.00316.45
7.4.250.0040.00416.48
7.4.240.0050.00216.35
7.4.230.0000.00716.57
7.4.220.0110.00716.25
7.4.210.0070.00816.41
7.4.200.0070.00016.26
7.4.190.0040.00416.53
7.4.160.0100.00716.46
7.4.150.0070.01117.40
7.4.140.0050.01517.86
7.4.130.0120.00616.44
7.4.120.0090.00916.40
7.4.110.0030.01416.57
7.4.100.0000.01716.35
7.4.90.0100.00716.48
7.4.80.0110.01119.39
7.4.70.0070.01016.44
7.4.60.0130.00316.44
7.4.50.0000.00416.44
7.4.40.0030.00922.77
7.4.30.0110.00616.23
7.4.00.0000.01715.05
7.3.330.0000.00513.07
7.3.320.0030.00313.09
7.3.310.0040.00316.14
7.3.300.0030.00316.30
7.3.290.0100.00716.26
7.3.280.0060.01016.32
7.3.270.0100.01417.40
7.3.260.0120.00916.41
7.3.250.0080.01116.46
7.3.240.0170.00716.59
7.3.230.0090.00916.59
7.3.210.0030.01316.21
7.3.200.0170.00319.39
7.3.190.0030.01316.44
7.3.180.0100.00616.45
7.3.170.0120.00416.31
7.3.160.0080.00816.37
7.3.120.0090.00614.82
7.3.110.0100.00614.65
7.3.100.0080.00614.84
7.3.90.0090.00315.05
7.3.80.0030.01415.00
7.3.70.0140.00314.82
7.3.60.0030.00914.53
7.3.50.0000.01814.60
7.3.40.0090.00014.78
7.3.30.0030.01414.80
7.3.20.0040.00716.67
7.3.10.0100.00316.66
7.3.00.0070.00716.58
7.2.330.0060.01216.74
7.2.320.0070.01316.65
7.2.310.0120.00616.36
7.2.300.0060.01016.25
7.2.290.0100.00716.57
7.2.240.0100.00714.98
7.2.230.0100.00314.52
7.2.220.0100.00615.13
7.2.210.0000.01114.89
7.2.200.0090.00914.83
7.2.190.0060.00914.81
7.2.180.0110.00715.05
7.2.170.0090.00615.07
7.2.160.0030.00914.76
7.2.150.0040.01116.93
7.2.140.0090.00316.89
7.2.130.0030.00516.35
7.2.120.0030.01016.52
7.2.110.0080.00816.59
7.2.100.0060.00616.69
7.2.90.0030.01416.86
7.2.80.0060.00916.64
7.2.70.0030.00616.35
7.2.60.0060.00616.84
7.2.50.0000.01416.70
7.2.40.0060.00316.88
7.2.30.0000.01416.60
7.2.20.0040.01416.78
7.2.10.0070.00316.84
7.2.00.0030.01416.82
7.1.330.0060.01015.63
7.1.320.0040.01115.59
7.1.310.0040.01215.82
7.1.300.0040.01115.38
7.1.290.0060.00615.47
7.1.280.0030.01015.51
7.1.270.0070.00415.62
7.1.260.0060.00615.56
7.1.250.0000.01315.74
7.1.200.0100.00615.88
7.1.100.0000.01417.78
7.1.70.0000.01117.12
7.1.60.0070.01519.40
7.1.50.0090.00316.82
7.1.00.0100.07022.36
7.0.200.0030.00316.83
7.0.140.0030.07322.00
7.0.60.1400.05720.13
7.0.50.0200.06717.84
7.0.40.0070.04020.27
7.0.30.0470.04720.08
7.0.20.0070.05020.23
7.0.10.0070.09020.26
7.0.00.0030.04320.17
5.6.280.0030.07320.93
5.6.210.1300.06020.61
5.6.200.0000.07018.24
5.6.190.0100.07720.46
5.6.180.0230.06720.58
5.6.170.0330.06320.44
5.6.160.0130.07720.56
5.6.150.0100.06318.29
5.6.140.0030.03718.23
5.6.130.0070.08018.16
5.6.120.0030.09021.00
5.6.110.0070.03721.16
5.6.100.0070.04320.98
5.6.90.0130.05720.91
5.6.80.0130.06020.34
5.6.70.4400.03720.51
5.5.350.0000.09020.41
5.5.340.0070.08318.09
5.5.330.0070.08020.43
5.5.320.0170.05320.38
5.5.310.0270.08020.36
5.5.300.0000.04718.07
5.5.290.0100.08018.11
5.5.280.0070.04020.85
5.5.270.0100.07020.97
5.5.260.0070.08020.88
5.5.250.0130.08020.72
5.5.240.0030.07720.16
5.4.450.0730.05719.59
5.4.440.0700.06719.64
5.4.430.0800.04719.19
5.4.420.0800.04719.47
5.4.410.0400.04319.46
5.4.400.0570.05718.53
5.4.390.2230.05318.77
5.4.380.0370.07718.70
5.4.370.0170.05018.53
5.4.360.0170.05018.79
5.4.350.0050.03612.02
5.4.340.0070.03712.02
5.4.320.0040.03912.51
5.4.310.0090.03812.51
5.4.300.0030.04112.50
5.4.290.0040.04112.50
5.4.280.0070.03512.40
5.4.270.0030.05718.95
5.4.260.0130.04718.78
5.4.250.0070.05318.94
5.4.240.0100.05018.74
5.4.230.0070.05319.07
5.4.220.0070.05318.94
5.4.210.0170.04318.99
5.4.200.0070.05318.94
5.4.190.0070.06018.91
5.4.180.0070.05018.77
5.4.170.0130.04318.72
5.4.160.0070.05018.98
5.4.150.0030.05718.92
5.4.140.0130.06016.63
5.4.130.0030.05016.62
5.4.120.0000.05316.44
5.4.110.0070.05316.55
5.4.100.0100.05016.57
5.4.90.0100.04316.52
5.4.80.0100.05716.43
5.4.70.0000.06316.66
5.4.60.0030.05316.36
5.4.50.0030.06016.44
5.4.40.0030.05316.48
5.4.30.0130.04016.46
5.4.20.0130.06716.46
5.4.10.0070.06716.36
5.4.00.0030.05315.93
5.3.290.0070.04512.80
5.3.280.0030.05314.57
5.3.270.0030.05314.70
5.3.260.0070.05014.52
5.3.250.0130.04314.60
5.3.240.0030.05014.84
5.3.230.0000.06314.69
5.3.220.0030.05314.58
5.3.210.0070.05314.56
5.3.200.0030.05014.71
5.3.190.0130.04314.50
5.3.180.0000.05714.57
5.3.170.0070.05014.73
5.3.160.0100.07014.55
5.3.150.0030.05314.64
5.3.140.0030.05314.73
5.3.130.0030.05314.54
5.3.120.0130.04714.58
5.3.110.0230.05314.64
5.3.100.0100.04314.26
5.3.90.0030.06013.93
5.3.80.0070.04714.01
5.3.70.0070.05013.93
5.3.60.0130.04714.07
5.3.50.0100.04714.18
5.3.40.0070.06313.93
5.3.30.0030.05014.00
5.3.20.0030.05013.79
5.3.10.0130.04313.64
5.3.00.0100.06313.72
5.2.170.0100.05011.23
5.2.160.0030.06011.06
5.2.150.0030.04311.32
5.2.140.0100.04011.23
5.2.130.0170.04311.10
5.2.120.0030.03711.18
5.2.110.0070.04011.27
5.2.100.0030.04011.20
5.2.90.0030.04011.29
5.2.80.0030.05711.11
5.2.70.0070.04011.19
5.2.60.0070.03711.06
5.2.50.0030.04711.25
5.2.40.0070.04311.23
5.2.30.0030.04010.99
5.2.20.0070.03710.98
5.2.10.0070.04011.03
5.2.00.0070.04310.69
5.1.60.0030.03710.00
5.1.50.0030.03310.10
5.1.40.0070.04710.08
5.1.30.0070.03710.31
5.1.20.0030.03710.32
5.1.10.0070.03310.05
5.1.00.0030.05010.06
5.0.50.0070.0308.75
5.0.40.0000.0408.61
5.0.30.0000.0538.27
5.0.20.0070.0308.20
5.0.10.0030.0278.13
5.0.00.0070.0538.26
4.4.90.0030.0207.34
4.4.80.0000.0237.34
4.4.70.0000.0237.34
4.4.60.0070.0177.34
4.4.50.0000.0237.34
4.4.40.0000.0437.34
4.4.30.0100.0137.34
4.4.20.0070.0177.34
4.4.10.0070.0177.34
4.4.00.0070.0307.34
4.3.110.0030.0277.34
4.3.100.0070.0277.34
4.3.90.0030.0177.34
4.3.80.0030.0337.33
4.3.70.0000.0337.33
4.3.60.0070.0177.33
4.3.50.0030.0237.33
4.3.40.0000.0437.33
4.3.30.0030.0207.33
4.3.20.0000.0307.33
4.3.10.0000.0237.33
4.3.00.0100.0237.96

preferences:
38.99 ms | 401 KiB | 5 Q