3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p='abersondermixer12'; for ($i=0;$i<=strlen($p);$i++) { echo md5(substr($p,0,$i)); echo "\n"; } echo mysql_escape_string('abersonder-mixer-po3errrt3'); echo '<br>'; echo md5 (mysql_escape_string('abersonder-mixer-po3errrt3')); echo '<br>'; echo md5('abersonder-mixer-po3errrt3');

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.40.0150.00018.81
8.3.30.0040.01118.67
8.3.20.0080.00018.90
8.3.10.0100.00620.46
8.3.00.0080.00019.38
8.2.170.0070.00722.96
8.2.160.0070.00720.68
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0100.00018.72
8.2.110.0030.00622.12
8.2.100.0080.00419.64
8.2.90.0040.00417.63
8.2.80.0100.00017.97
8.2.70.0040.00417.80
8.2.60.0000.00818.04
8.2.50.0000.00818.10
8.2.40.0000.00920.42
8.2.30.0040.00418.05
8.2.20.0030.00617.79
8.2.10.0000.00717.68
8.2.00.0030.00517.70
8.1.270.0030.00523.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.02
8.1.230.0080.00319.16
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0050.00318.59
8.1.160.0000.00718.83
8.1.150.0040.00418.55
8.1.140.0000.00717.41
8.1.130.0030.00517.76
8.1.120.0000.00717.50
8.1.110.0060.00317.42
8.1.100.0040.00417.32
8.1.90.0070.00017.38
8.1.80.0000.00817.35
8.1.70.0000.00717.34
8.1.60.0060.00317.57
8.1.50.0040.00417.42
8.1.40.0040.00417.57
8.1.30.0040.00417.63
8.1.20.0000.00817.74
8.1.10.0000.00717.52
8.1.00.0040.00417.50
8.0.300.0060.00319.71
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0000.00717.17
8.0.260.0030.00316.93
8.0.250.0000.00717.03
8.0.240.0000.00716.91
8.0.230.0040.00417.02
8.0.220.0030.00316.75
8.0.210.0020.00516.91
8.0.200.0030.00316.84
8.0.190.0070.00016.88
8.0.180.0040.00416.93
8.0.170.0030.00616.86
8.0.160.0000.00817.01
8.0.150.0030.00516.80
8.0.140.0040.00516.92
8.0.130.0000.00513.37
8.0.120.0040.00416.82
8.0.110.0000.00916.72
8.0.100.0050.00316.73
8.0.90.0040.00416.93
8.0.80.0120.00916.86
8.0.70.0000.00816.78
8.0.60.0040.00417.01
8.0.50.0040.00416.68
8.0.30.0140.00417.04
8.0.20.0090.00917.03
8.0.10.0070.00017.02
8.0.00.0080.01116.68
7.4.330.0050.00012.94
7.4.320.0000.00616.38
7.4.300.0000.00616.62
7.4.290.0030.00316.59
7.4.280.0030.00616.54
7.4.270.0000.00616.43
7.4.260.0030.00313.31
7.4.250.0000.00816.51
7.4.240.0000.00716.38
7.4.230.0000.00716.64
7.4.220.0110.01116.69
7.4.210.0070.01016.51
7.4.200.0070.00016.60
7.4.190.0070.00016.51
7.4.160.0090.00616.63
7.4.150.0140.01116.59
7.4.140.0070.01016.44
7.4.130.0110.01016.63
7.4.120.0090.01116.41
7.4.110.0110.00816.58
7.4.100.0120.01216.60
7.4.90.0130.01016.52
7.4.80.0080.01419.39
7.4.70.0050.01116.46
7.4.60.0100.00716.57
7.4.50.0000.00416.59
7.4.40.0090.00916.57
7.4.30.0080.01016.56
7.4.00.0060.00315.14
7.3.330.0070.00013.27
7.3.320.0030.00313.29
7.3.310.0000.00716.32
7.3.300.0030.00316.38
7.3.290.0070.00916.42
7.3.280.0090.00616.49
7.3.270.0100.00616.53
7.3.260.0060.01216.61
7.3.250.0110.01016.61
7.3.240.0160.00016.61
7.3.230.0100.00716.61
7.3.210.0090.00916.37
7.3.200.0040.01116.36
7.3.190.0100.00616.40
7.3.180.0000.01516.33
7.3.170.0060.01116.51
7.3.160.0070.01416.70
7.3.120.0030.01414.81
7.2.330.0150.00416.72
7.2.320.0130.00616.25
7.2.310.0190.00016.68
7.2.300.0190.00616.72
7.2.290.0100.00716.54
7.2.80.0040.01116.70
7.2.60.0120.00317.04
7.1.200.0000.01215.95
7.1.100.0030.01018.22
7.1.70.0040.00417.38
7.1.60.0110.01419.30
7.1.50.0100.01416.92
7.1.00.0030.04722.43
7.0.200.0330.00314.37
7.0.140.0030.07021.99
7.0.120.0000.04022.25
7.0.60.0130.07020.06
7.0.50.0070.08317.82
7.0.40.0030.08717.80
7.0.30.0070.06717.72
7.0.20.0070.07717.75
7.0.10.0100.04317.75
7.0.00.0030.07717.68
5.6.280.0130.06720.92
5.6.210.0070.06720.69
5.6.200.0100.07318.21
5.6.190.0030.07318.21
5.6.180.0070.08318.18
5.6.170.0130.05718.16
5.6.160.0070.04018.18
5.6.150.0000.04318.22
5.6.140.0070.08018.19
5.6.130.0070.06318.11
5.6.120.0130.07718.09
5.6.110.0200.05718.11
5.6.100.0070.07718.18
5.6.90.0030.08318.06
5.6.80.0000.04717.57
5.6.70.0100.06717.55
5.6.60.0070.07717.54
5.6.50.0170.06017.59
5.6.40.0030.07317.54
5.6.30.0130.07017.47
5.6.20.0200.06017.48
5.6.10.0070.06317.45
5.6.00.0030.07717.46
5.5.350.0370.06720.39
5.5.340.0130.07317.95
5.5.330.0130.07017.98
5.5.320.0130.05317.89
5.5.310.0070.04017.87
5.5.300.0170.07318.02
5.5.290.0000.04717.89
5.5.280.0070.07017.93
5.5.270.0100.03718.01
5.5.260.0070.08317.92
5.5.250.0130.05717.71
5.5.240.0070.07717.41
5.5.230.0030.05717.29
5.5.220.0070.07717.33
5.5.210.0070.05717.29
5.5.200.0100.04317.40
5.5.190.0100.08017.26
5.5.180.0100.05717.26
5.5.160.0070.08017.33
5.5.150.0070.08017.27
5.5.140.0170.06717.31
5.5.130.0070.07317.33
5.5.120.0030.07717.30
5.5.110.0030.07317.30
5.5.100.0200.06317.17
5.5.90.0200.06317.23
5.5.80.0070.08017.21
5.5.70.0130.05717.26
5.5.60.0130.05317.15
5.5.50.0070.07717.11
5.5.40.0030.04717.16
5.5.30.0000.04317.25
5.5.20.0070.05717.13
5.5.10.0030.08317.15
5.5.00.0130.06317.21
5.4.450.0130.06319.36
5.4.440.0070.06019.31
5.4.430.0030.07019.35
5.4.420.0030.07719.29
5.4.410.0030.07719.34
5.4.400.0070.05718.97
5.4.390.0200.06318.99
5.4.380.0030.04018.93
5.4.370.0030.08019.09
5.4.360.0030.04718.98
5.4.350.0070.07718.98
5.4.340.0070.06319.20
5.4.320.0070.07719.03
5.4.310.0000.04318.99
5.4.300.0100.08018.99
5.4.290.0030.06019.20
5.4.280.0070.07019.07
5.4.270.0100.04718.95
5.4.260.0130.04319.12
5.4.250.0130.04318.95
5.4.240.0100.04019.03
5.4.230.0070.07319.00
5.4.220.0030.06019.11
5.4.210.0100.07019.08
5.4.200.0070.08019.08
5.4.190.0100.04319.19
5.4.180.0100.07019.00
5.4.170.0200.05319.11
5.4.160.0100.06318.97
5.4.150.0130.07018.80
5.4.140.0030.06716.30
5.4.130.0030.04316.27
5.4.120.0100.06716.31
5.4.110.0030.04016.29
5.4.100.0070.04016.41
5.4.90.0070.03316.36
5.4.80.0130.06316.35
5.4.70.0170.06716.37
5.4.60.0170.06316.23
5.4.50.0100.05316.15
5.4.40.0000.04316.32
5.4.30.0030.04016.39
5.4.20.0100.06716.27
5.4.10.0100.06716.30
5.4.00.0130.06315.60
5.3.290.0070.04314.63
5.3.280.0130.05714.56
5.3.270.0000.06014.55
5.3.260.0070.07714.45
5.3.250.0070.07714.54
5.3.240.0030.06014.59
5.3.230.0100.07714.56
5.3.220.0070.07014.52
5.3.210.0000.04714.55
5.3.200.0030.04014.39
5.3.190.0000.04014.53
5.3.180.0100.04314.36
5.3.170.0030.06714.54
5.3.160.0100.07014.52
5.3.150.0130.06714.52
5.3.140.0070.07014.38
5.3.130.0100.07714.32
5.3.120.0070.06314.40
5.3.110.0030.05314.48
5.3.100.0070.04013.97
5.3.90.0000.06313.95
5.3.80.0070.05713.87
5.3.70.0030.03714.09
5.3.60.0100.06013.91
5.3.50.0030.04313.71
5.3.40.0000.05313.91
5.3.30.0070.05013.86
5.3.20.0030.03713.62
5.3.10.0000.04013.59
5.3.00.0070.05313.57
5.2.170.0030.06311.13
5.2.160.0070.04311.11
5.2.150.0000.06711.04
5.2.140.0000.03311.11
5.2.130.0030.02711.09
5.2.120.0070.02711.09
5.2.110.0000.04010.93
5.2.100.0100.05710.91
5.2.90.0130.06010.93
5.2.80.0070.05011.07
5.2.70.0030.06711.07
5.2.60.0000.04010.83
5.2.50.0100.03710.99
5.2.40.0030.05010.82
5.2.30.0070.06310.97
5.2.20.0070.04711.10
5.2.10.0030.06310.78
5.2.00.0070.05710.64
5.1.60.0070.05310.05
5.1.50.0100.0479.98
5.1.40.0100.05010.03
5.1.30.0000.05310.47
5.1.20.0030.04310.38
5.1.10.0070.05310.04
5.1.00.0030.05310.12
5.0.50.0070.0378.52
5.0.40.0030.0238.46
5.0.30.0000.0538.36
5.0.20.0030.0178.32
5.0.10.0030.0438.32
5.0.00.0070.0638.36
4.4.90.0000.0178.32
4.4.80.0030.0308.32
4.4.70.0030.0378.32
4.4.60.0030.0338.32
4.4.50.0000.0308.32
4.4.40.0000.0508.32
4.4.30.0070.0278.32
4.4.20.0030.0338.32
4.4.10.0030.0338.32
4.4.00.0030.0538.32
4.3.110.0000.0238.32
4.3.100.0000.0208.32
4.3.90.0030.0138.32
4.3.80.0000.0378.32
4.3.70.0030.0338.32
4.3.60.0070.0208.32
4.3.50.0100.0238.32
4.3.40.0000.0508.32
4.3.30.0070.0338.32
4.3.20.0000.0308.32
4.3.10.0000.0378.32
4.3.00.0000.0408.32

preferences:
47.47 ms | 400 KiB | 5 Q