Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The parameter is too large for a 32-bit computer #1809

Open
chenmaomaoi opened this issue Jul 7, 2023 · 1 comment
Open

The parameter is too large for a 32-bit computer #1809

chenmaomaoi opened this issue Jul 7, 2023 · 1 comment

Comments

@chenmaomaoi
Copy link

private const NID_LIMIT = 1000000;

$stream->setNid($stream->getPublishedTime() * self::NID_LIMIT + rand(1, self::NID_LIMIT));

The largest integer supported in this build of PHP. Usually int(2147483647) in 32 bit systems and int(9223372036854775807) in 64 bit systems.

@chenmaomaoi chenmaomaoi changed the title Argument is too big for 32bit machine The parameter is too large for a 32-bit computer Jul 7, 2023
@riparise
Copy link

duplicate of #1742 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants