PHP 8.5.0 Beta 1 available for testing

Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

Pistachio
13 years ago
I'm surprised this isn't mentioned in docs here, but to set these values at runtime use "ini_set()". For example:

<?php
ini_set
("auto_detect_line_endings", true);

// Now I can invoke fgets() on files that contain silly \r line endings.
?>

<< Back to user notes page

To Top