return

w

 

 

<?php
function TestReturn()
{
    echo 123;
    return;
}

$w = TestReturn();
var_dump($w);

 

null

C:\>php D:\cmd\amzapi\amzapitest_com\MarketplaceWebServiceOrders\Samples\wd_learn.php
123NULL

 

posted @ 2017-04-25 19:41  papering  阅读(145)  评论(0编辑  收藏  举报