Home Backend Development PHP Tutorial 【赚取智能手环】PHP开发学习门户有奖答题活动火热进行中!

【赚取智能手环】PHP开发学习门户有奖答题活动火热进行中!

Jun 23, 2016 pm 01:44 PM

为感谢大家一直以来对于 PHP开发学习门户的关注和支持,特此举办一个有奖答题活动,凡参与活动的竞猜用户,按答题正确数目,提交答案时间进行排名, 前 30 名活动排名用户将获得我们精心准备的礼物奖品,赶快参加吧!


活动时间:2014.11.23 10:00  至  2014.11.25 20:00


活动地址: http://bbs.phpthinking.com/thread-305-1-1.html


活动奖品:

  • 第1名,智能手环+U型枕+耳机收纳盒
  • 第2名,智能手环+耳机收纳盒
  • 第3-5名,U型枕+耳机收纳盒
  • 第6-30名,U型枕

  • 活动规则:

       1. 分享活动,为了让更多的人参与我们的大家庭,将下列分享内容发布分享至QQ 空间、微信朋友圈、新浪微博、腾讯微博、人人网等任意一处即可,保留分享后的展示截图。
    分享内容如下:

    【赚取智能手环】 PHP 开发学习门户有奖答题第一期活动开始了,旨在检验大家的专业知识和对PHP 开发学习门户的了解程度,奖品多多,智能手环、U 型枕等你来拿,感谢云智慧提供奖品赞助,活动地址是: http://bbs.phpthinking.com/thread-305-1-1.html

       2. 回答活动的12 个题目,为保证用户答案的私密性,用户需将题目答案发至邮箱 mythinkingonline@gmail.com,同时邮件中,需包含答题人姓名,联系邮箱,手机号,奖品邮寄地址,第一步中活动分享的截图

       3. 邮件发送之后,在本贴留言签到,任意留言内容+ 个人邮箱地址即可,看到帖子留言后,我们会在指定邮箱查找您的邮件,首先根据答对题目的个数进行排名,其次根据邮件发送时间进行再次排名,最终确定获奖用户!

       4. 10 个活动题目会在2014.11.23 10:00 在本文中公布,中奖名单会在活动结束后两天之内陆续公布,请大家耐心等待

    活动题目如下:


  • 【单选】PHP开发学习社区门户正式对外发布时间?

    A.2014年7月

    B.2014年8月

    C.2014年9月

    D.2014年10月


  • 【多选】PHP中单引号和双引号包围的字符串有什么区别

    A. 单引号速度快,双引号速度慢

    B. 双引号速度快,单引号速度慢

    C. 两者没有速度差别

    D. 双引号解析其中以$开头的变量,而单引号不解析


  • 【单选】以下哪个不符合PHP语法

    A. $_10

    B. ${"MyVar"}

    C. &$something

    D. $10_somethings

    E. $aVaR


  • 【多选】 关于下列的语句及描述正确的是

    A. $method = “test”; $method(); 这两个语句执行后将执行一个名为test的方法

    B. $method = “test”; echo “This is a $method”;这个语句执行后将输出 This is a test

    C. $method = “test”; $$method = “a”; 则变量 $test 的值为 a


  • 【单选】session 和cookie 的区别说法错误的是?

    A. session 和 cookie 都可以记录数据状态。

    B. 在设置session 和cookie 之前不能有输出。

    C. 在使用cookie 前要使用 cookie_start()函数初始。

    D. Cookie是客户端技术,session是服务器端技术。


  • 【单选】$a=3;$b=4;if($a||$b=5){echo'todo';} $b的值是

    A. 4

    B. 5

    C. 3

    D. false


  • 【单选】user表中对字段name(varchar类型)创建了普通索引,下列查询语句可以使用索引是?

    A. SELECT * FROM users where name not in ('a','b');

    B. SELECT * FROM users where name like '%a%';

    C. SELECT * FROM users where name between 'a' and 'b';

    D. SELECT * FROM users where name = age;


  • 【单选】存在用户表user,若只有name和password两个字段,在php中定义两个变量

    $name_str = 'phpthinking';$password_str = 'phpthinking.com';

    则下列在php中拼装的sql语句语法错误的是

    A.$sql = "insert into users (name,password) values ('{$name_str}','{$password_str}')"; 
    B.$sql = 'insert into users (name,password) values ("' . $name_str . '","' . $password_str . '")'; 
    C.$sql = "insert into users (name,password) values (" . $name_str . "," . $password_str . ")"; 
    D.$sql = "insert into users (name,password) values ('" . $name_str . "','" . $password_str . "')";


  • 【单选】监控宝是什么 ?

    A.一款支付监控软件        B.一个IT监控的服务应用


  • 【单选】监控宝有哪些版本

    A.免费        B.标准版        C.高级版        D.专业版        E.企业服务        F以上都有


  • 您在监控宝注册的账户邮箱是什么?

    若没有账号的话,请前往注册: http://www.jiankongbao.com/signup?ref=phpthinking


  • 写出方法1和方法2的实现代码是什么?

    1. class Person {
    2.     //下面是人的成员属性, 都是封装的私有成员
    3.     private $name; //人的名子
    4.     private $sex; //人的性别
    5.     private $age; //人的年龄

    6.     // 方法1
    7.     // 方法2
    8. }

    9. $p1 = new Person ();

    10. //直接为私有属性赋值的操作,会自动调用方法1方法进行赋值
    11. $p1->name = "张三";

    12. //直接获取私有属性的值, 会自动调用方法2方法,返回成员属性的值
    13. echo "姓名:" . $p1->name . "
      ";
    复制代码
  • 【附加题】你对PHP开发学习门户门户的建议是什么?


    上述题目基本在PHP开发学习门户的博文中都可以找到答案,大家尽快发邮件答题吧,O(∩_∩)O~


    赞助商:

    PHP 开发学习门户         http://www.phpthinking.com

    云智慧科技有限公司         http://www.cloudwise.com


    奖品图片:

    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

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Article

    Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
    3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
    Nordhold: Fusion System, Explained
    3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
    Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
    3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    Hot Topics

    Java Tutorial
    1666
    14
    PHP Tutorial
    1273
    29
    C# Tutorial
    1253
    24
    Explain secure password hashing in PHP (e.g., password_hash, password_verify). Why not use MD5 or SHA1? Explain secure password hashing in PHP (e.g., password_hash, password_verify). Why not use MD5 or SHA1? Apr 17, 2025 am 12:06 AM

    In PHP, password_hash and password_verify functions should be used to implement secure password hashing, and MD5 or SHA1 should not be used. 1) password_hash generates a hash containing salt values ​​to enhance security. 2) Password_verify verify password and ensure security by comparing hash values. 3) MD5 and SHA1 are vulnerable and lack salt values, and are not suitable for modern password security.

    PHP and Python: Comparing Two Popular Programming Languages PHP and Python: Comparing Two Popular Programming Languages Apr 14, 2025 am 12:13 AM

    PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

    PHP: A Key Language for Web Development PHP: A Key Language for Web Development Apr 13, 2025 am 12:08 AM

    PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

    PHP in Action: Real-World Examples and Applications PHP in Action: Real-World Examples and Applications Apr 14, 2025 am 12:19 AM

    PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

    How does PHP type hinting work, including scalar types, return types, union types, and nullable types? How does PHP type hinting work, including scalar types, return types, union types, and nullable types? Apr 17, 2025 am 12:25 AM

    PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values ​​and handle functions that may return null values.

    The Enduring Relevance of PHP: Is It Still Alive? The Enduring Relevance of PHP: Is It Still Alive? Apr 14, 2025 am 12:12 AM

    PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

    PHP and Python: Code Examples and Comparison PHP and Python: Code Examples and Comparison Apr 15, 2025 am 12:07 AM

    PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

    PHP vs. Other Languages: A Comparison PHP vs. Other Languages: A Comparison Apr 13, 2025 am 12:19 AM

    PHP is suitable for web development, especially in rapid development and processing dynamic content, but is not good at data science and enterprise-level applications. Compared with Python, PHP has more advantages in web development, but is not as good as Python in the field of data science; compared with Java, PHP performs worse in enterprise-level applications, but is more flexible in web development; compared with JavaScript, PHP is more concise in back-end development, but is not as good as JavaScript in front-end development.

    See all articles