PHP 8.5.0 Alpha 2 available for testing

Voting

: min(three, zero)?
(Example: nine)

The Note You're Voting On

pheagey at gmail dot com
13 years ago
Using a 0 as the last parameter for substr().

As per examples
<?php $var = substr($var, 4); ?>

works no problem. However
<?php $var = substr($var, 4, 0); ?>

will get you nothing. Just a quick heads up

<< Back to user notes page

To Top