PHP Conditional assignment: Null coalescing (??)

Joined
Oct 6, 2019
Messages
283
Points
16
Code:
<!DOCTYPE html>
<html>
<body>

<?php
   // variable $user is the value of $_GET['user']
   // and 'anonymous' if it does not exist
   echo $user = $_GET["user"] ?? "anonymous";
   echo("<br>");
 
   // variable $color is "red" if $color does not exist or is null
   echo $color = $color ?? "red";
?> 

</body>
</html>
 

sofiaxp3

Member
Joined
Jan 4, 2020
Messages
6
Points
1
Browse over 500 000 of the best porn galleries, daily updated collections

Please Login or Register to view hidden text.



forced lesbian sex porn free kristin m porn free college boy physicals porn videos schwantz porn mann charm school porn stars
 
Top