3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c1 = openssl_encrypt('rdorigo', 'AES-128-CBC', 'senha'); $c2 = openssl_encrypt('{"success":true,"data":{"id":"3efe4524-cd59-4dc5-879c-8f61caf98b3e","status":"complete","recipientscount":1,"failed":[{"address":"vania-cf2012@hotmail.com","error":"Mailbox unavailable. The server response was: 550 Requested action not taken: mailbox unavailable","errorcode":550,"category":"NoMailbox"}],"failedcount":0,"delivered":[],"deliveredcount":0,"pending":[],"pendingcount":0,"opened":[],"openedcount":0,"clicked":[],"clickedcount":0,"unsubscribed":[],"unsubscribedcount":0,"abusereports":[],"abusereportscount":0}}', 'AES-128-CBC', 'senha'); var_dump($c1, $c2); $c1 = base64_encode(gzcompress($c1, 9)); $c2 = base64_encode(gzcompress($c2, 9)); var_dump($c1, $c2); $c1 = gzuncompress(base64_decode($c1), 9); $c2 = gzuncompress(base64_decode($c2), 9); var_dump($c1, $c2); $c1 = openssl_decrypt($c1, 'AES-128-CBC', 'senha'); $c2 = openssl_decrypt($c2, 'AES-128-CBC', 'senha'); var_dump($c1, $c2);

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.5.10.0080.00920.27
8.5.00.0120.01020.33
8.4.160.0130.00923.86
8.4.150.0030.00014.05
8.4.140.0140.00717.86
8.4.130.0120.00619.43
8.4.120.0130.00720.91
8.4.110.0170.00418.73
8.4.100.0030.00518.91
8.4.90.0080.00319.10
8.4.80.0130.00918.55
8.4.70.0130.00718.18
8.4.60.0170.00618.62
8.4.50.0120.00720.21
8.4.40.0120.00319.51
8.4.30.0100.01017.72
8.4.20.0100.01017.65
8.4.10.0080.00817.82
8.3.280.0010.00114.05
8.3.270.0110.00816.56
8.3.260.0080.00516.55
8.3.250.0090.00917.02
8.3.240.0070.01216.70
8.3.230.0110.00416.63
8.3.220.0090.00918.74
8.3.210.0040.00416.64
8.3.200.0050.00316.42
8.3.190.0100.00917.30
8.3.180.0140.00516.65
8.3.170.0070.01120.79
8.3.160.0030.01617.01
8.3.150.0090.00917.02
8.3.140.0080.00016.45
8.3.130.0080.01116.39
8.3.120.0070.00720.71
8.3.110.0030.00720.94
8.3.100.0080.00024.06
8.3.90.0030.00526.77
8.3.80.0040.00418.20
8.3.70.0040.01218.43
8.3.60.0100.00616.48
8.3.50.0100.00821.92
8.3.40.0160.00618.84
8.3.30.0070.00718.71
8.3.20.0030.00518.70
8.3.10.0050.00321.93
8.3.00.0080.00019.68
8.2.290.0110.00720.68
8.2.280.0100.00918.35
8.2.270.0100.00717.34
8.2.260.0080.00016.96
8.2.250.0120.00616.63
8.2.240.0040.00416.92
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0030.00618.29
8.2.190.0150.00616.63
8.2.180.0090.00918.18
8.2.170.0120.00622.96
8.2.160.0090.00619.21
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00021.12
8.2.120.0000.00726.35
8.2.110.0060.00920.93
8.2.100.0080.00417.72
8.2.90.0050.00318.03
8.2.80.0040.00418.98
8.2.70.0030.00517.37
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0000.00720.60
8.2.30.0000.00720.69
8.2.20.0050.00317.70
8.2.10.0030.00618.02
8.2.00.0000.00717.86
8.1.330.0110.00816.04
8.1.320.0100.01016.39
8.1.310.0070.01018.28
8.1.300.0060.01217.89
8.1.290.0060.00330.84
8.1.280.0090.00625.92
8.1.270.0040.00423.84
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00623.93
8.1.230.0040.00820.97
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0080.00019.04
8.1.160.0020.00518.98
8.1.150.0040.00418.80
8.1.140.0050.00219.46
8.1.130.0070.00017.61
8.1.120.0000.00717.39
8.1.110.0050.00517.27
8.1.100.0050.00317.29
8.1.90.0000.00717.35
8.1.80.0000.00817.35
8.1.70.0080.00017.36
8.1.60.0040.00417.37
8.1.50.0050.00317.36
8.1.40.0060.00317.51
8.1.30.0090.00017.59
8.1.20.0080.00017.50
8.1.10.0040.00417.48
8.1.00.0060.00317.43
8.0.300.0030.00320.16
8.0.290.0050.00216.63
8.0.280.0070.00018.36
8.0.270.0070.00017.21
8.0.260.0040.00417.21
8.0.250.0000.00716.98
8.0.240.0030.00516.86
8.0.230.0050.00316.98
8.0.220.0000.00716.86
8.0.210.0040.00416.88
8.0.200.0060.00016.98
8.0.190.0000.00716.90
8.0.180.0000.00716.82
8.0.170.0040.00416.95
8.0.160.0040.00416.93
8.0.150.0040.00416.72
8.0.140.0040.00416.89
8.0.130.0050.00013.31
8.0.120.0000.00816.93
8.0.110.0000.00716.88
8.0.100.0050.00316.96
8.0.90.0060.00316.84
8.0.80.0050.01016.88
8.0.70.0040.00416.79
8.0.60.0000.00716.95
8.0.50.0070.00016.80
8.0.30.0060.01117.01
8.0.20.0080.01317.40
8.0.10.0000.00716.83
8.0.00.0070.01116.74
7.4.330.0000.00515.08
7.4.320.0000.00616.33
7.4.300.0060.00016.37
7.4.290.0000.00716.42
7.4.280.0060.00316.45
7.4.270.0030.00316.46
7.4.260.0100.00016.52
7.4.250.0070.00016.28
7.4.240.0000.00816.54
7.4.230.0020.00516.37
7.4.220.0090.00916.45
7.4.210.0030.01516.58
7.4.200.0000.00816.34
7.4.160.0100.00616.64
7.4.150.0150.00317.40
7.4.140.0110.00617.86
7.4.130.0100.00616.63
7.4.120.0120.00516.48
7.4.110.0100.00616.52
7.4.100.0180.00616.50
7.4.90.0130.00316.49
7.4.80.0120.01219.39
7.4.70.0140.00716.55
7.4.60.0000.01716.50
7.4.50.0030.01416.42
7.4.40.0060.01216.36
7.4.30.0090.01216.39
7.4.00.0070.01014.81
7.3.330.0030.00313.15
7.3.320.0030.00313.07
7.3.310.0040.00416.36
7.3.300.0000.00616.31
7.3.290.0050.00316.21
7.3.280.0100.00816.32
7.3.270.0100.01717.40
7.3.260.0090.01316.54
7.3.250.0110.01016.41
7.3.240.0100.00716.24
7.3.230.0100.00716.51
7.3.210.0080.01116.49
7.3.200.0070.01016.34
7.3.190.0180.00416.26
7.3.180.0130.00316.35
7.3.170.0080.00816.37
7.3.160.0060.00916.37
7.3.10.0090.00916.41
7.3.00.0090.00916.07
7.2.330.0100.00716.33
7.2.320.0100.01016.69
7.2.310.0140.01016.45
7.2.300.0060.01016.46
7.2.290.0130.00316.25
7.2.130.0070.01116.50
7.2.120.0180.00416.62
7.2.110.0150.00616.07
7.2.100.0150.00616.38
7.2.90.0140.00716.05
7.2.80.0060.01216.26
7.2.70.0170.00716.39
7.2.60.0120.00616.70
7.2.50.0160.00816.52
7.2.40.0170.01016.51
7.2.30.0230.00416.42
7.2.20.0200.00316.11
7.2.10.0110.00815.93
7.2.00.0060.01317.94
7.1.250.0090.00615.30
7.1.200.0000.01015.34
7.1.100.0000.01218.16
7.1.70.0070.01017.21
7.1.60.0070.01719.29
7.1.00.0030.07722.45
7.0.200.0070.00716.71
7.0.60.0230.07720.06
7.0.50.0230.05320.57
7.0.40.0400.06720.65
7.0.30.0070.06720.36
7.0.20.0200.06020.48
7.0.10.0230.05320.57
7.0.00.0200.05720.38
5.6.280.0030.07321.24
5.6.210.0070.03720.87
5.6.200.0130.06021.23
5.6.190.0200.06021.22
5.6.180.0100.06721.39
5.6.170.0130.06021.36
5.6.160.0230.05321.28
5.6.150.0200.06321.28
5.6.140.0200.05721.32
5.6.130.0130.06321.22
5.6.120.0100.07321.19
5.6.110.0100.06321.21
5.6.100.0170.05721.20
5.6.90.0130.06321.37
5.6.80.0200.04720.57
5.6.70.0400.05020.66
5.6.60.0230.05720.70
5.6.50.0230.05720.74
5.6.40.0370.05320.61
5.6.30.0400.04320.64
5.6.20.0270.06320.63
5.6.10.0330.04720.72
5.6.00.0270.06320.73
5.5.350.0270.07320.62
5.5.340.0100.07721.14
5.5.330.0270.05021.05
5.5.320.0230.04721.00
5.5.310.0100.06721.00
5.5.300.0230.05021.11
5.5.290.0200.05721.05
5.5.280.0200.05321.18
5.5.270.0170.05320.95
5.5.260.0070.07021.01
5.5.250.0170.05721.00
5.5.240.0270.05720.44
5.5.230.0230.06020.39
5.5.220.0300.04720.64
5.5.210.0500.03720.34
5.5.200.0330.06020.44
5.5.190.0430.04720.40
5.5.180.0300.05720.41
5.5.160.0330.05320.61
5.5.150.0330.05020.35
5.5.140.0300.05320.43
5.5.130.0330.05020.37
5.5.120.0130.05720.40
5.5.110.0170.05720.40
5.5.100.0200.05720.29
5.5.90.0170.05020.38
5.5.80.0200.05020.29
5.5.70.0070.07020.27
5.5.60.0300.04020.41
5.5.50.0070.06020.41
5.5.40.0200.04720.30
5.5.30.0170.05020.39
5.5.20.0200.05320.36
5.5.10.0230.05020.40
5.5.00.0130.06020.42

preferences:
41.34 ms | 403 KiB | 5 Q