Category:PHP
-
Time:2021-3-7
A series of articles: Notes on Linux 1 Linux miscellany root file system Linux miscellany 2 /Boot system boot related, kernel, initrd, grub, boot loader This work adoptsCC agreementReprint must indicate the author and the link of this article The wind in June
-
Time:2021-3-7
This paper introduces the functions and usage of classes and objects in PHP. The details are as follows: 1. Class and object Class is the basic concept of object-oriented programming. It is the structure description of a kind of things and an abstract concept. Object is a concrete instance of a kind of things and […]
-
Time:2021-3-6
Article summary Taking advantage of a little free time on the weekend, this paper makes a general summary of PHP learning, lists a general outline of personal learning PHP, and shares it, hoping to be useful to the development partners learning PHP. The whole outline is a summary of personal learning. The outline will continue […]
-
Time:2021-3-6
objective The builder is part of the interface that creates a complex object. Sometimes, if the builder has a good knowledge of what he creates, the interface may become an abstract class (also known as an adapter) with default methods. If an object has a complex inheritance tree, it is logical for the builder to […]
-
Time:2021-3-6
In this paper, an example is given to illustrate the implementation method of unlimited navigation menu class in TP5 framework. The details are as follows: A table structure suitable for similar structure of ID name PID sort Usage: (TP5) 1. Save the bottom code to the “foreground” controller directory (named FrontNav.php )For example: application / […]
-
Time:2021-3-5
Welcome to the community markdown editor! PHP Development Engineer 1. Cooperate with H5 engineers to complete the research and development of web front and back end, and mobile page development (semi-native framework, apicloud). Responsible for communication with product manager, research new technology to meet the needs of products, promote products to be more perfect and […]
-
Time:2021-3-5
1. Give you four coordinate points to judge whether they can form a rectangle. For example, judge whether ([0,0], [0,1], [1,1], [1,0]) can form a rectangle. Let’s analyze the problem and give 4 punctuation points to judge whether it is rectangular or not High school knowledge, rectangle has four sides, two equal, rectangular two diagonal […]
-
Time:2021-3-5
example: PHP version is 7.2 <?php echo memory_get_usage() , ‘<br>’; $start = memory_get_usage(); $a = Array(); for ($i=0; $i<1000; $i++) { $a[$i] = $i + $i; } $mid = memory_get_usage(); echo memory_get_usage() , ‘<br>’; for ($i=1000; $i<2000; $i++) { $a[$i] = $i + $i; } $end = memory_get_usage(); echo memory_get_usage() , ‘<br>’; echo ‘argv:’, ($mid […]
-
Time:2021-3-4
A series of articles: Notes on Linux 1 Linux miscellany root file system Linux miscellany 2 Reanalysis of RWX permission This work adoptsCC agreementReprint must indicate the author and the link of this article The wind in June
-
Time:2021-3-4
objective The advantage over the simple factory pattern is that you can create an object by subclassing it in different ways. For a simple example, this abstract class might just be an interface. This pattern is a “real” design pattern because it realizes the “dependency inversion” of “d” in the s.o.l.i.d principle. This means that […]
-
Time:2021-3-4
In this paper, an example is given to show how to realize the sorting function of infinite columns in ThinkPHP framework. The details are as follows: In the title, we didn’t explain whether it is TP5’s infinite ranking or TP3’s infinite ranking, just to let the new players understand that the implementation of these functions […]
-
Time:2021-3-3
Article from:mp.weixin.qq.com/s/Fq7LByOiUXg0Z7Q…Learning materials sharing:【Videos, documents, interview questions】 These are the knowledge points often asked in PHP interview. Only pointed out that the knowledge points, the corresponding also need to find their own information system learning. I hope you can not only understand what it is, but also understand why and the principle behind it. If […]