Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nsfisis
Copy link
Contributor

@nsfisis nsfisis commented Oct 23, 2025

Part of #2169

Support alternative notation of octal number literal since PHP 8.1.

https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.octal-literal-prefix

Octal integers can now use an explicit 0o/0O prefix in integer literals, similarly to binary and hexadecimal integer literals.

<?php
014;  // Non-prefix octal literal
0o14; // Prefixed octal literal
?>

@nsfisis nsfisis mentioned this pull request Oct 23, 2025
6 tasks
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

Successfully merging this pull request may close these issues.

1 participant