Standard Class of PHP

Source: Internet
Author: User
PHP is a built-in standard Class (Stdclass)

 $obj = new stdclass();echo'


当使用类型转换时,就是使用了标准类

$arr = array('a'=>1);var_dump((object)$arr);

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('

  • ').text(i)); }; $numbering.fadeIn(1700); }); });

    以上就介绍了PHP之标准类,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

  •   '; Var_dump ( $obj );  $obj ->a =  1 ;  $obj ->b =  1 ; Var_dump ( $obj );  

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.