3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists("rotencode")){function rotencode($string,$amount) { $key = substr($string, 0, 1); if(strlen($string)==1) { return chr(ord($key) + $amount); } else { return chr(ord($key) + $amount) . rotEncode(substr($string, 1, strlen($string)-1), $amount); }}} echo rotencode("xes26:tr5bzf{8ydhog`uw9omvl7kicjp43nq", -1); $OO000OO000OO = 'gzinflate'; $OO00OOO000OO = 'str_rot13'; $O0000000000O = 'base64_decode'; echo $OO000OO000OO($OO00OOO000OO($O0000000000O('XY5OQcMwEFL3Vb1QFkSdVa3TiF2i0FK7LRsOgAYzJEl5z8ietOT2uCAWoEz9r6f3p2fzY4ERu2FRbBGKa6LwbsdXTM8UhSO9L1OaP+lojLTwv85MgyHhjKva/RiBuar3Qr/iqq77zVAJhzYfFFChJhHumsZ0Ogh2AwzGym3Dt1FhEVghdlC+uRcYr2xA88THiZIMV5cy2fStP5MHG57B5w2ttpm14PIjasjNucFCGdrDo+q/AA==')));

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.70.0100.00618.05
8.3.60.0000.01518.33
8.3.50.0120.00722.11
8.3.40.0000.01518.84
8.3.30.0120.00318.50
8.3.20.0070.00020.46
8.3.10.0030.00623.70
8.3.00.0040.00419.25
8.2.190.0130.00416.91
8.2.180.0070.01016.63
8.2.170.0110.00722.96
8.2.160.0030.01020.34
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00317.50
8.2.120.0070.00026.35
8.2.110.0040.00422.39
8.2.100.0070.00417.93
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0000.00917.75
8.2.60.0000.00817.79
8.2.50.0000.00818.07
8.2.40.0080.00019.34
8.2.30.0040.00420.64
8.2.20.0080.00017.81
8.2.10.0070.00018.17
8.2.00.0060.00318.23
8.1.280.0120.00625.92
8.1.270.0000.00723.79
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0050.00519.09
8.1.230.0040.00819.56
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0050.00517.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.77
8.1.160.0000.00722.07
8.1.150.0030.00519.08
8.1.140.0030.00619.54
8.1.130.0000.00717.65
8.1.120.0040.00417.45
8.1.110.0040.00417.39
8.1.100.0040.00417.40
8.1.90.0040.00417.46
8.1.80.0070.00017.39
8.1.70.0000.00717.49
8.1.60.0040.00417.69
8.1.50.0030.00617.56
8.1.40.0000.00717.59
8.1.30.0000.00817.79
8.1.20.0040.00417.72
8.1.10.0040.00417.62
8.1.00.0090.00017.54
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.41
8.0.270.0070.00017.23
8.0.260.0030.00317.36
8.0.250.0000.00716.88
8.0.240.0000.00717.02
8.0.230.0060.00317.04
8.0.220.0100.00016.86
8.0.210.0040.00416.91
8.0.200.0000.00717.03
8.0.190.0030.00517.09
8.0.180.0040.00416.98
8.0.170.0080.00016.86
8.0.160.0030.00617.09
8.0.150.0070.00016.80
8.0.140.0070.00016.91
8.0.130.0000.00513.37
8.0.120.0030.00516.82
8.0.110.0030.00616.90
8.0.100.0070.00016.83
8.0.90.0000.00716.94
8.0.80.0060.00916.84
8.0.70.0040.00416.90
8.0.60.0000.00716.90
8.0.50.0000.00816.83
8.0.30.0110.00617.14
8.0.20.0130.00717.41
8.0.10.0040.00417.07
8.0.00.0110.00816.84
7.4.330.0050.00016.85
7.4.320.0000.00616.64
7.4.300.0060.00016.64
7.4.290.0070.00016.57
7.4.280.0080.00016.50
7.4.270.0030.00316.50
7.4.260.0070.00016.54
7.4.250.0000.00816.61
7.4.240.0020.00516.49
7.4.230.0000.00716.68
7.4.220.0100.01016.61
7.4.210.0000.01516.59
7.4.200.0030.00316.57
7.4.160.0090.00916.67
7.4.150.0110.00717.40
7.4.140.0100.01117.86
7.4.130.0100.00416.53
7.4.120.0150.00916.56
7.4.110.0090.00916.34
7.4.100.0150.00416.56
7.4.90.0030.01416.38
7.4.80.0140.00919.39
7.4.70.0110.01116.53
7.4.60.0150.00316.61
7.4.50.0030.01116.73
7.4.40.0000.01616.27
7.4.30.0070.01316.50
7.4.10.0040.01514.76
7.4.00.0060.01014.97
7.3.330.0030.00313.15
7.3.320.0030.00313.42
7.3.310.0050.00316.41
7.3.300.0070.00016.40
7.3.290.0040.01116.42
7.3.280.0090.01216.37
7.3.270.0030.01617.40
7.3.260.0060.01116.60
7.3.250.0150.00516.50
7.3.240.0080.00916.54
7.3.230.0040.01516.58
7.3.210.0160.00016.36
7.3.200.0030.01316.45
7.3.190.0070.01016.47
7.3.180.0090.00616.33
7.3.170.0100.01016.62
7.3.160.0100.00716.41
7.3.130.0070.01014.49
7.3.120.0160.00314.95
7.3.110.0070.00414.54
7.3.100.0060.00915.12
7.3.90.0060.01014.79
7.3.80.0080.00414.98
7.3.70.0080.00314.64
7.3.60.0060.00914.67
7.3.50.0080.00614.68
7.3.40.0050.00514.58
7.3.30.0030.00614.98
7.3.20.0060.00616.44
7.3.10.0070.00716.85
7.3.00.0100.00616.55
7.2.330.0130.00816.69
7.2.320.0080.01116.78
7.2.310.0040.01216.44
7.2.300.0060.01116.69
7.2.290.0110.00716.69
7.2.260.0160.00315.04
7.2.250.0100.01014.58
7.2.240.0040.01115.16
7.2.230.0100.00615.05
7.2.220.0070.01015.28
7.2.210.0060.00614.98
7.2.200.0060.00615.22
7.2.190.0110.00415.02
7.2.180.0070.00715.01
7.2.170.0000.01115.25
7.2.160.0030.00715.19
7.2.150.0060.00616.88
7.2.140.0100.00717.12
7.2.130.0070.00416.86
7.2.120.0030.01016.63
7.2.110.0030.01216.75
7.2.100.0000.01516.87
7.2.90.0100.00316.74
7.2.80.0140.00016.80
7.2.70.0060.00317.08
7.2.60.0070.01017.07
7.2.50.0070.00716.99
7.2.40.0000.01216.90
7.2.30.0000.01017.00
7.2.20.0030.01416.75
7.2.10.0030.01716.95
7.2.00.0030.01018.25
7.1.330.0080.00615.79
7.1.320.0000.01015.82
7.1.310.0030.00615.87
7.1.300.0040.01115.55
7.1.290.0000.01415.63
7.1.280.0000.01115.63
7.1.270.0110.00315.88
7.1.260.0070.00715.57
7.1.250.0060.00615.55
7.1.240.0070.00715.61
7.1.230.0070.01015.54
7.1.220.0030.01015.69
7.1.210.0060.00615.93
7.1.200.0060.00615.73
7.1.190.0060.01015.52
7.1.180.0080.00515.65
7.1.170.0040.00815.90
7.1.160.0090.00315.66
7.1.150.0120.00915.26
7.1.140.0030.01415.71
7.1.130.0060.00915.74
7.1.120.0030.01015.49
7.1.110.0060.00615.63
7.1.100.0020.01017.03
7.1.90.0070.01115.96
7.1.80.0030.01315.64
7.1.70.0070.00516.42
7.1.60.0050.01417.58
7.1.50.0100.00716.18
7.1.40.0150.00315.52
7.1.30.0030.01015.71
7.1.20.0070.00715.73
7.1.10.0060.00915.80
7.1.00.0070.04119.20
7.0.330.0030.01015.32
7.0.320.0040.00415.41
7.0.310.0000.01215.39
7.0.300.0030.00915.05
7.0.290.0080.00615.29
7.0.280.0030.01015.36
7.0.270.0110.00015.46
7.0.260.0060.00615.46
7.0.250.0110.00415.51
7.0.240.0120.00315.57
7.0.230.0000.01415.57
7.0.220.0100.00315.50
7.0.210.0060.00615.48
7.0.200.0040.00716.03
7.0.190.0030.01415.19
7.0.180.0060.00915.33
7.0.170.0090.00615.49
7.0.160.0060.00915.52
7.0.150.0060.00915.55
7.0.140.0120.00015.55
7.0.130.0070.00715.58
7.0.120.0030.00615.31
7.0.110.0030.00915.55
7.0.100.0060.01115.40
7.0.90.0090.00615.38
7.0.80.0100.00715.67
7.0.70.0040.00715.36
7.0.60.0050.05017.75
7.0.50.0030.04816.64
7.0.40.0080.04616.89
7.0.30.0240.03016.86
7.0.20.0230.03716.84
7.0.10.0050.04816.58
7.0.00.0070.04716.73
5.6.400.0000.01114.51
5.6.390.0030.00714.52
5.6.380.0060.00314.30
5.6.370.0040.01414.58
5.6.360.0080.00314.37
5.6.350.0040.00814.63
5.6.340.0030.01514.51
5.6.330.0080.00314.61
5.6.320.0060.01314.38
5.6.310.0090.00614.46
5.6.300.0100.00313.95
5.6.290.0070.01014.48
5.6.280.0080.03517.83
5.6.270.0070.00314.55
5.6.260.0060.00314.52
5.6.250.0120.00314.50
5.6.240.0140.00414.30
5.6.230.0100.00314.45
5.6.220.0060.00614.62
5.6.210.0080.03617.55
5.6.200.0090.03616.32
5.6.190.0020.05117.47
5.6.180.0180.04817.43
5.6.170.0130.02217.54
5.6.160.0050.02317.30
5.6.150.0060.02416.25
5.6.140.0000.03016.37
5.6.130.0030.03316.22
5.6.120.0100.02317.86
5.6.110.0060.03117.70
5.6.100.0070.04217.60
5.6.90.0130.03517.86
5.6.80.0090.04717.45
5.6.70.0070.01014.53
5.6.60.0030.01014.24
5.6.50.0070.00714.45
5.6.40.0030.01014.17
5.6.30.0110.00414.34
5.6.20.0080.00814.31
5.6.10.0100.01014.20
5.6.00.0000.00914.12
5.5.380.0090.00014.14
5.5.370.0030.00914.41
5.5.360.0060.00614.26
5.5.350.0190.03417.24
5.5.340.0070.03216.12
5.5.330.0060.02617.33
5.5.320.0080.03417.45
5.5.310.0120.03417.43
5.5.300.0120.03916.37
5.5.290.0030.02516.34
5.5.280.0090.04217.55
5.5.270.0030.05217.64
5.5.260.0050.04917.62
5.5.250.0080.04317.46
5.5.240.1760.02317.34
5.5.230.0070.00714.08
5.5.220.0070.00314.32
5.5.210.0040.00814.02
5.5.200.0000.01114.36
5.5.190.0030.01514.44
5.5.180.0090.00614.16
5.5.170.0120.00614.16
5.5.160.0040.00714.39
5.5.150.0030.00914.38
5.5.140.0070.00714.50
5.5.130.0080.00014.25
5.5.120.0030.00614.46
5.5.110.0000.01114.21
5.5.100.0030.00614.50
5.5.90.0030.01214.19
5.5.80.0070.01014.25
5.5.70.0030.01014.34
5.5.60.0030.00914.34
5.5.50.0030.01014.50
5.5.40.0110.00314.38
5.5.30.0000.01014.09
5.5.20.0060.00614.17
5.5.10.0040.01113.94
5.5.00.0030.00814.09

preferences:
70.25 ms | 401 KiB | 5 Q