Changes between Version 3 and Version 4 of Ticket #55635, comment 4
- Timestamp:
- 04/28/2022 02:27:14 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55635, comment 4
v3 v4 15 15 16 16 Also, to save some time, here's the PHP intval underlying C code I've used for reference: https://github.com/php/php-src/blob/b5db594fd277464104fce814d22f0b2207d6502d/ext/standard/type.c#L142-L199 which is ultimately passed through the C function [https://www.cplusplus.com/reference/cstdlib/strtol/ strtol()]. 17 18 Additional edit: If you want to test the PHP parsing, you can use ` php -d display_errors=1 -d memory_limit=0x123m -r='echo ini_get("memory_limit"); $t=" "; while($t.=$t);'` and consider the `size of 305135616 bytes exhausted` number to be it's byte interpretation (In this case, 291MB)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)