Bu PHP standart davranış mı?

0 Cevap php

Bu uyarı olmadan çalışır:

function test($a)
{
    echo 1;
}
test(2, 1);

Bu uyarıyı neden olur:

function test($a)
{
    echo 1;
}
test();

O Bunun için bir sebep standart olup olmadığından?

0 Cevap