一路很纠结的php面试题

WBOY
Release: 2016-06-13 11:00:57
Original
771 people have browsed it

一道很纠结的php面试题

$a = 1;$b = 'a';$a = $b++; //$a = 'a'    //$b = 'b'$b = $a++;      //$b = 'a'//$a = 'b'$c = set($a).$b;//$c = 3.'a'//$c = 3aecho $c;function set($a=2,$b=3){global $a; //$a = 'b'    $c = &$a;                $a += $b++;  //$a = 'b' + 3//$a = 3//$c = 3   return $c;}
Copy after login

1 楼 ly365 2011-05-01  
很考验基础知识是否扎实
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!