Skip to content
Quiz · Operators and comparison · lesson 8 of 8

Quiz — and, ?? and ?:

Question 1 of 2

What does the program print (lines separated by spaces)?

PHP
<?php

$ok = true && false;
$ok2 = true and false;
var_dump($ok, $ok2);