Before discount:
Cart:
> Product Id:"1" - 529$ x 22 = 23$
> Product Id:"383" - 741$ x 38 = 19$
> Product Id:"412" - 408$ x 11 = 34$
-- Found discount of 4% to apply on the batch of 12 product (id 383) in the cart
-- Found discount of 4% to apply on the batch of 12 product (id 383) in the cart
-- Found discount of 4% to apply on the batch of 12 product (id 383) in the cart
-- Found discount of 5% to apply on the batch of 10 product (id 412) in the cart
After discount:
Cart:
> Product Id:"1" - 529$ x 22 = 23$
> Product Id:"383" - 741$ x 38 = 19$
> Product Id:"412" - 408$ x 11 = 34$
Fees:
> -9$ - Descuento por cantidad: 4% por 12x383
> -9$ - Descuento por cantidad: 4% por 12x383
> -9$ - Descuento por cantidad: 4% por 12x383
> -17$ - Descuento por cantidad: 5% por 10x412
>> Total of 4 discounts for -44$
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 5.6.30
Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting variable (T_VARIABLE) in /in/ot8A5h on line 5
Process exited with code 255.