Advertisement
Karek_khinkuji1999

Необязательность команды else в PHP

Mar 13th, 2025
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.08 KB | None | 0 0
  1. <?php
  2.  
  3. $test = 1;
  4.    
  5.     if ($test = 1) {
  6.         echo '+++';
  7.     }
  8.      
  9.    ?>
  10.  
Tags: php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement