root debian tmp cat tmp test php php error_reporting E_ALL E_STRICT in

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
root@debian:/tmp# cat /tmp/test.php
<?php
error_reporting(E_ALL | E_STRICT);
ini_set("display_errors", 1);
$id_Products_get = [0 => "id_Products_get"];
$id_products_get[] = 1;
print_r($id_Products_get);
print_r($id_products_get);
root@debian:/tmp# php /tmp/test.php
Array
(
[0] => id_Products_get
)
Array
(
[0] => 1
)
root@debian:/tmp#