3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Region Luzern, Apéro"; var_dump(intval(base_convert(bin2hex("Region Luzern, Apéro".session_id()), 16, 10));

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)
5.6.80.0030.06020.39
5.5.240.0030.07720.12
5.4.400.0500.05718.72
5.4.390.0270.06018.78
5.4.380.0230.06318.78
5.4.370.0270.05318.72
5.4.360.0230.06018.46
5.4.350.0330.05718.76
5.4.340.0370.05718.69
5.4.320.0330.05718.54
5.4.310.0300.05318.77
5.4.300.0330.05318.71
5.4.290.0370.07318.54
5.4.280.0500.05718.43
5.4.270.0300.05318.54
5.4.260.0300.05018.75
5.4.250.0400.07318.74
5.4.240.0370.05318.74
5.4.230.0400.07018.76
5.4.220.0330.05318.64
5.4.210.0330.06318.74
5.4.200.0300.05016.67
5.4.190.0330.05718.44
5.4.180.0270.05718.64
5.4.170.0400.05018.76
5.4.160.0370.05318.52
5.4.150.0370.04718.43
5.4.140.0330.04716.32
5.4.130.0430.03716.17
5.4.120.0370.04316.20
5.4.110.0230.05716.33
5.4.100.0330.06716.20
5.4.90.0400.06016.44
5.4.80.0370.06016.25
5.4.70.0430.06316.14
5.4.60.0300.05716.18
5.4.50.0170.06016.21
5.4.40.0400.07016.39
5.4.30.0330.06016.14
5.4.20.0300.06316.22
5.4.10.0230.05016.25
5.4.00.0330.04315.77
5.3.290.0270.05314.76
5.3.280.0200.06314.63
5.3.270.0200.06314.54
5.3.260.0300.06314.50
5.3.250.0400.04314.68
5.3.240.0300.05714.68
5.3.230.0430.05014.52
5.3.220.0430.06014.64
5.3.210.0230.05314.64
5.3.200.0230.05714.66
5.3.190.0430.05314.46
5.3.180.0270.05714.49
5.3.170.0370.05314.65
5.3.160.0270.05714.49
5.3.150.0200.06014.54
5.3.140.0330.05014.55
5.3.130.0200.06014.53
5.3.120.0230.06014.55
5.3.110.0470.06014.46
5.3.100.0330.06014.04
5.3.90.0330.05014.07
5.3.80.0330.05314.01
5.3.70.0330.05314.05
5.3.60.0300.05313.92
5.3.50.0370.06713.93
5.3.40.0330.06313.86
5.3.30.0370.06313.82
5.3.20.0400.05713.63
5.3.10.0500.06013.59
5.3.00.0270.05313.55
5.2.170.0300.03311.28
5.2.160.0270.04011.21
5.2.150.0200.05311.12
5.2.140.0300.04011.17
5.2.130.0270.04711.26
5.2.120.0270.03711.14
5.2.110.0230.04311.14
5.2.100.0300.05711.24
5.2.90.0200.04311.08
5.2.80.0170.05011.02
5.2.70.0400.04711.05
5.2.60.0300.05011.20
5.2.50.0230.06310.96
5.2.40.0300.04310.96
5.2.30.0270.04710.94
5.2.20.0230.04010.93
5.2.10.0230.04711.01
5.2.00.0200.05010.81
5.1.60.0100.04310.10
5.1.50.0270.03010.05
5.1.40.0170.0339.93
5.1.30.0130.04010.43
5.1.20.0230.03310.50
5.1.10.0100.04310.20
5.1.00.0230.03010.14
5.0.50.0100.0408.54
5.0.40.0100.0278.55
5.0.30.0100.0478.29
5.0.20.0170.0238.23
5.0.10.0170.0238.20
5.0.00.0100.0438.29
4.4.90.0100.0235.89
4.4.80.0070.0235.92
4.4.70.0070.0235.81
4.4.60.0030.0275.86
4.4.50.0130.0205.82
4.4.40.0130.0435.87
4.4.30.0070.0335.90
4.4.20.0130.0275.97
4.4.10.0170.0305.99
4.4.00.0130.0475.90
4.3.110.0130.0235.82
4.3.100.0200.0275.82
4.3.90.0200.0235.77
4.3.80.0130.0335.80
4.3.70.0130.0275.80
4.3.60.0130.0305.79
4.3.50.0130.0235.89
4.3.40.0170.0305.83
4.3.30.0100.0204.77
4.3.20.0100.0204.77
4.3.10.0030.0234.77
4.3.00.0000.0237.31

preferences:
146.99 ms | 939 KiB | 8 Q