PHP 8.5.0 Alpha 1 available for testing

Voting

: three minus one?
(Example: nine)

The Note You're Voting On

Marcel Baur
3 years ago
If your included file returns a value, you can get it as a result from require(), i.e.

foo.php:
<?php
return "foo";
?>

$bar = require("foo.php");
echo $bar; // equals to "foo"

<< Back to user notes page

To Top