What does the <?= operator mean in php?
Possible Duplicate:
What does '<?=' mean in PHP?
I'm reading someone else's code and I don't think I've come across this before.
if((< ? =date("Y");?>-parseInt($('#year').find('option:selected').val()))<18)
Any thoughts?
Thanks
<?=
is the short open and echo tag. Here is the PHP documentation for it.
<?=
是<?php echo
简写,但只适用于php.ini设置正确的情况。
Same as <?php echo ...
It is not always enabled in some environments.
链接地址: http://www.djcxy.com/p/59340.html上一篇: 为什么和什么目的在cakephp中使用这个<?=?>语法
下一篇: 在PHP中,<?=运算符是什么意思?