What two values does this program print?

from PHP fundamentals
PHP 8.3.33 beginner 2 min

What two values does this program print?

php
<?php
$quantity = '0';
var_export((bool) $quantity);
echo PHP_EOL;

$allowed = true and false;
var_export($allowed);
echo PHP_EOL;
Open in playground
Report an error