<?php
function foo($one, $two){
bar($one);
}
function bar($one){
echo $one;
//How do I access $two from the parent function scope?
}
?>
Yukarıdaki kod varsa, nasıl () without (bilinmeyen nedenlerden dolayı) bir değişken olarak geçirerek bar içinde değişken $ 2 erişebilirsiniz.
Teşekkürler,
Mikrofon