mirror of
https://github.com/igorsimdyanov/php8.git
synced 2025-08-13 14:45:09 +00:00
Глава 11: черновик
This commit is contained in:
5
arrays/array_key_exists.php
Normal file
5
arrays/array_key_exists.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
$arr = ['first_numb' => 1, 'second_numb' => 2];
|
||||
if (array_key_exists('first_numb', $arr)) {
|
||||
echo 'ОК';
|
||||
}
|
Reference in New Issue
Block a user