3v4l.org

run code in 300+ PHP versions simultaneously
<?php $HashPrivado = 'ec7363b7c7ff3ab851335f801568dec5115f09705a45f7d849928e906e0964b0'; $BodyCupon = array( "Tipo" => "code128", "Codigo" => "1234567", "Tam" => 300, "Color" => "black", "ColorB" => "white", "AltoB"=> 50, "AnchoB"=> 2 ); //Preparo la llamada //$Parametros = json_encode($BodyCupon); $Parametros = '{"Tablet":153023,"Telefono":"691666156","RxTlf":"7","Email":"jaguilera@likeik.com", "RxEmail":"6", "DeliveryId":153023}'; //$Parametros = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; var_dump(json_decode($Parametros, TRUE)); //Usando el hash privado, firmamos el contenido a transmitir (los parĂ¡metros) $ElHash = hash_hmac('sha256', $Parametros, $HashPrivado); echo $ElHash;

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.0110.01116.63
8.3.50.0120.00316.63
8.3.40.0100.01318.84
8.3.30.0110.00318.57
8.3.20.0090.00020.21
8.3.10.0080.00023.42
8.3.00.0000.00819.55
8.2.180.0140.00418.04
8.2.170.0110.00722.96
8.2.160.0140.00019.04
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00421.02
8.2.120.0070.00026.35
8.2.110.0060.00319.13
8.2.100.0060.00617.78
8.2.90.0030.00519.22
8.2.80.0080.00017.97
8.2.70.0070.00317.75
8.2.60.0050.00318.04
8.2.50.0000.00818.10
8.2.40.0000.00820.35
8.2.30.0040.00419.34
8.2.20.0000.00717.96
8.2.10.0040.00418.18
8.2.00.0040.00418.07
8.1.280.0140.01025.92
8.1.270.0040.00421.84
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00621.31
8.1.230.0080.00319.22
8.1.220.0100.00017.79
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0040.00417.22
8.1.180.0030.00618.10
8.1.170.0040.00418.47
8.1.160.0040.00419.06
8.1.150.0100.00018.84
8.1.140.0040.00419.44
8.1.130.0000.00718.77
8.1.120.0000.00717.37
8.1.110.0040.00417.31
8.1.100.0110.00017.30
8.1.90.0040.00417.43
8.1.80.0000.00717.31
8.1.70.0070.00017.32
8.1.60.0040.00417.59
8.1.50.0040.00417.50
8.1.40.0040.00417.51
8.1.30.0000.00817.61
8.1.20.0000.00817.51
8.1.10.0040.00417.55
8.1.00.0000.00717.31
8.0.300.0040.00419.78
8.0.290.0000.00716.63
8.0.280.0000.00718.32
8.0.270.0000.00717.14
8.0.260.0030.00316.86
8.0.250.0000.00716.88
8.0.240.0000.00716.88
8.0.230.0070.00016.89
8.0.220.0080.00016.79
8.0.210.0030.00316.83
8.0.200.0030.00316.89
8.0.190.0030.00516.78
8.0.180.0050.00216.77
8.0.170.0000.00716.75
8.0.160.0040.00416.70
8.0.150.0030.00516.79
8.0.140.0000.00716.80
8.0.130.0050.00313.23
8.0.120.0070.00016.75
8.0.110.0070.00016.87
8.0.100.0050.00316.87
8.0.90.0050.00316.91
8.0.80.0160.00316.82
8.0.70.0040.00416.62
8.0.60.0040.00416.64
8.0.50.0000.00816.81
8.0.30.0080.01017.10
8.0.20.0090.01017.40
8.0.10.0060.00316.76
8.0.00.0070.01116.77
7.4.330.0050.00015.55
7.4.320.0000.00616.41
7.4.300.0030.00316.46
7.4.290.0080.00016.35
7.4.280.0030.00516.34
7.4.270.0000.00716.55
7.4.260.0030.00316.53
7.4.250.0000.00716.50
7.4.240.0000.00816.43
7.4.230.0030.00316.64
7.4.220.0100.01016.45
7.4.210.0080.00816.63
7.4.200.0000.00716.34
7.4.160.0080.00916.52
7.4.150.0160.00617.40
7.4.140.0060.01417.86
7.4.130.0100.01316.52
7.4.120.0090.01016.55
7.4.110.0130.01016.54
7.4.100.0090.00916.37
7.4.90.0140.00316.40
7.4.80.0110.00719.39
7.4.70.0070.01516.41
7.4.60.0030.01316.35
7.4.50.0130.00316.52
7.4.40.0060.01716.52
7.4.30.0120.00616.42
7.4.00.0060.00915.03
7.3.330.0070.00013.04
7.3.320.0030.00212.96
7.3.310.0030.00316.16
7.3.300.0060.00016.06
7.3.290.0040.01016.24
7.3.280.0070.01016.22
7.3.270.0080.01217.40
7.3.260.0070.00916.49
7.3.250.0130.00516.30
7.3.240.0090.01116.26
7.3.230.0100.00716.24
7.3.210.0060.01016.20
7.3.200.0110.00616.41
7.3.190.0130.00316.54
7.3.180.0060.01716.30
7.3.170.0100.00716.29
7.3.160.0060.00916.30
7.2.330.0060.01316.67
7.2.320.0090.00916.64
7.2.310.0040.01316.29
7.2.300.0040.01916.58
7.2.290.0120.00416.62
7.2.60.0110.00316.84
7.2.00.0000.01019.10
7.1.200.0000.01115.79
7.1.100.0060.00618.18
7.1.70.0090.01216.95
7.1.60.0160.01635.08
7.1.50.0180.02234.82
7.1.40.0180.01834.27
7.1.30.0330.01534.45
7.1.20.0280.01734.61
7.1.10.0060.00916.50
7.1.00.0100.01016.76
7.0.200.0140.00016.70
7.0.190.0090.01116.77
7.0.180.0120.00816.00
7.0.170.0030.01716.18
7.0.160.0080.01116.27
7.0.150.0060.00916.36
7.0.140.0100.01016.38
7.0.130.0040.01616.65
7.0.120.0030.01616.41
7.0.110.0120.00616.34
7.0.100.0060.01316.09
7.0.90.0000.02116.26
7.0.80.0110.00816.47
7.0.70.0060.00916.52
7.0.60.0040.01616.25
7.0.50.0140.00716.42
7.0.40.0100.00716.29
7.0.30.0170.00316.66
7.0.20.0130.00316.38
7.0.10.0040.01116.43
7.0.00.0100.00616.33

preferences:
53.65 ms | 400 KiB | 5 Q