PHP uses QueryList to crawl web content, querylist crawling_PHP tutorial

WBOY
Release: 2016-07-13 09:44:25
Original
1579 people have browsed it

PHP uses QueryList to capture web page content. Querylist captures

. Previously, Java Jsoup was used to capture web page data, before I heard for a few days that it is more convenient to use PHP, so I did a brief research today, mainly using QueryList to achieve it.

QueryList is a general list collection class based on phpQuery. It is a simple, flexible, Powerful collection tool, collecting any complex page can basically be done in one sentence.

Let’s just take Blog Park as an example, http://www.cnblogs.com/ We use QueryList to capture the content in the red box

View the source code of the webpage to find the location of the red box

PHP uses QueryList to crawl web content, querylist crawling_PHP tutorial 1 <div id="post_list"> 2 3 <div class="post_item"> 4 <div class="digg"> 5 <div class="diggit" onclick="DiggPost('jr1993',4716308,222703,1)"> 6 <span class="diggnum" id="digg_count_4716308">0span> 7 div> 8 <div class="clear">div> 9 <div id="digg_tip_4716308" class="digg_tip">div> 10 div> 11 <div class="post_item_body"> 12 <h3><a class="titlelnk" href="http://www.cnblogs.com/jr1993/p/4716308.html" target="_blank">简单的jQuery 四级分类实用插件a>h3> 13 <p class="post_item_summary"> 14 <a href="http://www.cnblogs.com/jr1993/" target="_blank"><img width="48" height="48" class="pfs" src="http://www.bkjia.com/uploads/allimg/150830/1Z34K504-2.png" alt="">a> 前言最近因需要自己封装了一个很简单的四级分类的jQuery插件,主要用于后台数据的传输和获取。接下来就分享一下这个实用的插件吧。The old rules of the text, let’s take a look at the effect first. This one is very ugly and not beautified, because it is mainly used for the background interface. Please ignore the content of the test data: Then let’s introduce how to use it: First, the html code: . .. 15 p> 16 <div class="post_item_foot"> 17 <a href="http://www.cnblogs.com/jr1993/" class="lightblue">Kwok Jinronga> 18 Published on 2015-08-09 20:40 19 <span class="article_comment"><a href="http://www.cnblogs.com/jr1993/p/4716308.html#commentform" title="" class="gray"> 20 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/jr1993/p/4716308.html" class="gray"> ;Read(21)a>span>div> 21 div> 22 <div class="clear"> div> 23 div> 24 <div class="post_item"> 25 <div class="digg"> 26 <div class="diggit" onclick= "DiggPost('maybe2030',4715035,229915,1)"> 27 <span class="diggnum" id= "digg_count_4715035">0span> 28 div> 29 <div class="clear"> div> 30 <div id="digg_tip_4715035" class= "digg_tip">div> 31 div> 32 <div class="post_item_body"> 33 <h3><a class= "titlelnk" href="http://www.cnblogs.com/maybe2030/p/4715035.html" target= "_blank">[Data Structure & Algorithm] Seven search algorithmsa >h3> 34 <p class="post_item_summary"> 35 <a href="http://www.cnblogs.com/maybe2030/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/764050/20150531155648.png" alt="">a> Like the sorting algorithm, the search algorithm is also the most basic algorithm. Efficient search can enable us to operate data more efficiently, and proficiency in various search algorithms is also a basic algorithm skill. 36 p> 37 <div class="post_item_foot"> 38 <a href="http://www.cnblogs.com/maybe2030/" class="lightblue">Poll的笔记a> 39 发布于 2015-08-09 20:27 40 <span class="article_comment"><a href="http://www.cnblogs.com/maybe2030/p/4715035.html#commentform" title="" class="gray"> 41 评论(0)a>span><span class="article_view"><a href="http://www.cnblogs.com/maybe2030/p/4715035.html" class="gray">阅读(12)a>span>div> 42 div> 43 <div class="clear">div> 44 div> 45 <div class="post_item"> 46 <div class="digg"> 47 <div class="diggit" onclick="DiggPost('zhanggui',4716267,191738,1)"> 48 <span class="diggnum" id="digg_count_4716267">0span> 49 div> 50 <div class="clear">div> 51 <div id="digg_tip_4716267" class="digg_tip">div> 52 div> 53 <div class="post_item_body"> 54 <h3><a class="titlelnk" href="http://www.cnblogs.com/zhanggui/p/4716267.html" target="_blank">第二章、进程的描述与控制a>h3> 55 <p class="post_item_summary"> 56 <a href="http://www.cnblogs.com/zhanggui/" target="_blank"><img width="48" height="48" class="pfs" src="http://pic.cnblogs.com/face/527522/20140908182900.png" alt="">a> 第二章、进程的描述与控制====##2.1 前趋图和程序执行### 2.1.1 前趋图####概念:所谓前趋图:指一个有向无循环图(DAG),它用于描述进程之间执行的先后顺序。###2.1.2 Program sequential execution#### Features: * Sequentiality * Closedness: It means that the program runs in a closed environment, and the program exclusively occupies the entire machine's resources when it is running, and the status of the resources... 57 p> 58 <div class="post_item_foot"> 59 <a href="http://www.cnblogs.com/zhanggui/" class="lightblue">Scottzga> 60 Published on 2015-08-09 20:24 61 <span class="article_comment"><a href="http://www.cnblogs.com/zhanggui/p/4716267.html#commentform" title="" class="gray"> 62 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/zhanggui/p/4716267.html" class="gray"> ;Read(17)a>span>div> 63 div> 64 <div class="clear"> div> 65 div> 66 <div class="post_item"> 67 <div class="digg"> 68 <div class="diggit" onclick= "DiggPost('lubiao',4716200,158099,1)"> 69 <span class="diggnum" id= "digg_count_4716200">0span> 70 div> 71 <div class="clear"> div> 72 <div id="digg_tip_4716200" class= "digg_tip">div> 73 div> 74 <div class="post_item_body"> 75 <h3><a class= "titlelnk" href="http://www.cnblogs.com/lubiao/p/4716200.html" target= "_blank">Raspberry Pi Getting Started Notesa>h3 > 76 <p class="post_item_summary"> 77 <a href="http://www.cnblogs.com/lubiao/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/550600/20150808222928.png" alt="">a> 1. A simple understanding of the concept of open source hardware is that the detailed design parameters of electronic hardware are public, such as circuit diagrams, bill of materials, PCB layout, etc.Main types: Arduino, CubieBoard, RaspberryPi, PcDuino, BeagleBone, KiWIBoard and Mixteil Open Source Chinese Community - Open Source Hardware Zone http://ww... 78 p> 79 <div class="post_item_foot"> 80 <a href="http://www.cnblogs.com/lubiao/" class="lightblue">clbiaoa> 81 Published on 2015-08-09 20:05 82 <span class="article_comment"><a href="http://www.cnblogs.com/lubiao/p/4716200.html#commentform" title="" class="gray"> 83 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/lubiao/p/4716200.html" class="gray"> ;Read(59)a>span>div> 84 div> 85 <div class="clear"> div> 86 div> 87 <div class="post_item"> 88 <div class="digg"> 89 <div class="diggit" onclick= "DiggPost('xiaoheimiaoer',4716191,124701,1)"> 90 <span class="diggnum" id= "digg_count_4716191">0span> 91 div> 92 <div class="clear"> div> 93 <div id="digg_tip_4716191" class= "digg_tip">div> 94 div> 95 <div class="post_item_body"> 96 <h3><a class= "titlelnk" href="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html" target= "_blank">JS listening key combinationa>h3> 97 <p class="post_item_summary"> 98 <a href="http://www.cnblogs.com/xiaoheimiaoer/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/435330/20140328110126.png" alt="">a> Sometimes, we need to add some shortcut keys on the web page to facilitate users to use some common operations, such as: save, undo, copy, paste, etc.Let’s briefly sort out the ideas: The keys we are familiar with have such concentrated types: single key operations, such as: delete, up, down and other two-digit combinations, such as: ctrl (cmd) other keys, alt other keys, shift.. . 99 p> 100 <div class="post_item_foot"> 101 <a href="http://www.cnblogs.com/xiaoheimiaoer/" class="lightblue">Black MAOa> 102 Published on 2015-08-09 19:59 103 <span class="article_comment"><a href="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html#commentform" title="" class="gray"> 104 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/xiaoheimiaoer/p/4716191.html" class="gray"> ;Read(36)a>span>div> 105 div> 106 <div class="clear"> div> 107 div> 108 <div class="post_item"> 109 <div class="digg"> 110 <div class="diggit" onclick= "DiggPost('QG-whz',4716139,205933,1)"> 111 <span class="diggnum" id= "digg_count_4716139">0span> 112 div> 113 <div class="clear"> div> 114 <div id="digg_tip_4716139" class= "digg_tip">div> 115 div> 116 <div class="post_item_body"> 117 <h3><a class= "titlelnk" href="http://www.cnblogs.com/QG-whz/p/4716139.html" target="_blank">C copy constructor from a compiler perspectivea>h3> 118 <p class="post_item_summary"> 119 <a href="http://www.cnblogs.com/QG-whz/" target="_blank"><img width="48" height="48" class="pfs" src="http ://pic.cnblogs.com/face/610439/20150502210248.png" alt=""> a> #[C Object Model] Construction operation of copy constructor For a brief introduction to copy constructor, you can read an article I wrote before [C++Copy Control] Copy Constructor](http://www.cnblogs.com/QG-whz/p/4485574.html "C Copy Control Copy Constructor") This article introduces the definition, calling timing, and... . 120 p> 121 <div class="post_item_foot">122 <a href="http://www.cnblogs.com/QG-whz/" class="lightblue">melonstreeta> 123 发布于 2015-08-09 19:44 124 <span class="article_comment"><a href="http://www.cnblogs.com/QG-whz/p/4716139.html#commentform" title="" class="gray"> 125 评论(0)a>span><span class="article_view"><a href="http://www.cnblogs.com/QG-whz/p/4716139.html" class="gray">阅读(41)a>span>div> 126 div> 127 <div class="clear">div> 128 div> 129 <div class="post_item"> 130 <div class="digg"> 131 <div class="diggit" onclick="DiggPost('advances',4716089,238649,1)"> 132 <span class="diggnum" id="digg_count_4716089">1span> 133 div> 134 <div class="clear">div> 135 <div id="digg_tip_4716089" class="digg_tip">div> 136 div> 137 <div class="post_item_body"> 138 <h3><a class="titlelnk" href="http://www.cnblogs.com/advances/p/4716089.html" target="_blank">【Cocos2d入门教程三】HelloWorld之一目了然a>h3> 139 <p class="post_item_summary"> 140 <a href="http://www.cnblogs.com/advances/" target="_blank"><img width="48" height="48" class="pfs" src="http://pic.cnblogs.com/face/794244/20150804212641.png" alt="">a> 什么程序都是从HelloWorld先开始。同样Cocos2d-x我们先从HelloWorld进行下手、下面是HelloWorld的运行完成图:建立好的Cocos游戏项目中会有两个比较常用接触的文件夹。分别为Classes与resource。Classes access code files, resource access resource files, next... 141 p> 142 <div class="post_item_foot"> 143 <a href="http://www.cnblogs.com/advances/" class="lightblue">Cai Mingyonga> 144 Published on 2015-08-09 19:27 145 <span class="article_comment"><a href="http://www.cnblogs.com/advances/p/4716089.html#commentform" title="2015-08-09 20:37" class="gray"> 146 Comments (5)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/advances/p/4716089.html" class="gray"> ;Read(65)a>span>div> 147 div> 148 <div class="clear"> div> 149 div> 150 <div class="post_item"> 151 <div class="digg"> 152 <div class="diggit" onclick= "DiggPost('kodoyang',4715572,180900,1)"> 153 <span class="diggnum" id= "digg_count_4715572">0span> 154 div> 155 <div class="clear"> div> 156 <div id="digg_tip_4715572" class= "digg_tip">div> 157 div> 158 <div class="post_item_body"> 159 <h3><a class= "titlelnk" href="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html" target= "_blank">Monte Carlo method to calculate pia> h3> 160 <p class="post_item_summary"> 161 <a href="http://www.cnblogs.com/kodoyang/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/618527/20150809193301.png" alt="">a> In order to avoid the calculation time exceeding ten seconds, the sample value is arbitrarily reduced. [Calculation of all pixels in the square] is calculated a total of 10^8 times. When the same number of times is calculated in [Calculation of random pixels in the square], it will fall into waiting. I guess the reason is that a lot of time is wasted when obtaining random numbers, or it may be that too many loops consume time.[Average of random pixels in a square] China and Pakistan 10^8 are divided into 10 calculations... 162 p> 163 <div class="post_item_foot"> 164 <a href="http://www.cnblogs.com/kodoyang/" class="lightblue">kodoyanga> 165 Published on 2015-08-09 19:24 166 <span class="article_comment"><a href="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html#commentform" title="" class="gray"> 167 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/kodoyang/p/MonteCarloMethod_PI.html" class="gray"> ;Read(48)a>span>div> 168 div> 169 <div class="clear"> div> 170 div> 171 <div class="post_item"> 172 <div class="digg"> 173 <div class="diggit" onclick= "DiggPost('xyczero',4716019,198864,1)"> 174 <span class="diggnum" id= "digg_count_4716019">0span> 175 div> 176 <div class="clear"> div> 177 <div id="digg_tip_4716019" class= "digg_tip">div> 178 div> 179 <div class="post_item_body"> 180 <h3><a class= "titlelnk" href="http://www.cnblogs.com/xyczero/p/4716019.html" target= "_blank">Implementation of Android night mode (multiple themes)a>h3> 181 <p class="post_item_summary"> 182 <a href="http://www.cnblogs.com/xyczero/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/674691/20140930230333.png" alt="">a> ##Introduction Night mode is actually a type of multi-theme switching, but it is the most troublesome one. Because in night mode, you not only need to switch the main color, secondary color, etc., but also cover some special colors, because in night mode, everything cannot be black, otherwise it will be ugly. -, so when you complete the night mode, your App can easily handle future expansion of multiple themes.##Implementation ideas Most Apps should not be implemented due to historical reasons... 183 p> 184 <div class="post_item_foot"> 185 <a href="http://www.cnblogs.com/xyczero/" class="lightblue">xyczeroa> 186 Published on 2015-08-09 18:40 187 <span class="article_comment"><a href="http://www.cnblogs.com/xyczero/p/4716019.html#commentform" title="" class="gray"> 188 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/xyczero/p/4716019.html" class="gray"> ;Read(78)a>span>div> 189 div> 190 <div class="clear"> div> 191 div> 192 <div class="post_item"> 193 <div class="digg"> 194 <div class="diggit" onclick= "DiggPost('xishuai',4715000,124657,1)"> 195 <span class="diggnum" id= "digg_count_4715000">8span> 196 div> 197 <div class="clear"> div> 198 <div id="digg_tip_4715000" class= "digg_tip">div> 199 div> 200 <div class="post_item_body"> 201 <h3><a class= "titlelnk" href="http://www.cnblogs.com/xishuai/p/4715000.html" target= "_blank">2015-Written to myself next yeara>h3> 202 <p class="post_item_summary"> 203 <a href="http://www.cnblogs.com/xishuai/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/435188/20130715165802.png" alt="">a> "[2014-Written to my current self next year](http://www.cnblogs.com/xishuai/p/3900217.html)" Time is like running water, and in a blink of an eye, it's time again It’s been a year, and when I look back at myself last year, it seems like it was yesterday.If you read last year's blog post carefully, you will find that I was emotional, venting my dissatisfaction with myself and the people and things I saw, so I wrote it... 204 p> 205 <div class="post_item_foot"> 206 <a href="http://www.cnblogs.com/xishuai/" class="lightblue">Crickets in the fielda> 207 Published on 2015-08-09 18:08 208 <span class="article_comment"><a href="http://www.cnblogs.com/xishuai/p/4715000.html#commentform" title="2015-08-09 20:17" class="gray"> 209 Comments (5)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/xishuai/p/4715000.html" class="gray"> ;Read(289)a>span>div> 210 div> 211 <div class="clear"> div> 212 div> 213 <div class="post_item"> 214 <div class="digg"> 215 <div class="diggit" onclick= "DiggPost('anding',4715440,76293,1)"> 216 <span class="diggnum" id= "digg_count_4715440">7span> 217 div> 218 <div class="clear"> div> 219 <div id="digg_tip_4715440" class= "digg_tip">div> 220 div> 221 <div class="post_item_body"> 222 <h3><a class= "titlelnk" href="http://www.cnblogs.com/anding/p/4715440.html" target= "_blank">Winform develops a full set of 31 UI components for open source sharinga> h3> 223 <p class="post_item_summary"> 224 <a href="http://www.cnblogs.com/anding/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/151257/20150809180411.png" alt="">a> 1. Preface This UI library was completed by the previous company (several years ago). At that time, it was mainly for the development of the company's internal ERP system, and all Winform components used were redesigned and implemented, including 6 Form form components (supporting skinning) and 25 basic controls. Many of them refer to other open source components, and some are integrated with other people's components and then made some adjustments.I haven't done Winform for several years now... 225 p> 226 <div class="post_item_foot"> 227 <a href="http://www.cnblogs.com/anding/" class="lightblue">/*How many flowers fall in a dream*/a> 228 Published on 2015-08-09 18:01 229 <span class="article_comment"><a href="http://www.cnblogs.com/anding/p/4715440.html#commentform" title="2015-08-09 20:33" class="gray"> 230 Comments (4)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/anding/p/4715440.html" class="gray"> ;Read(346)a>span>div> 231 div> 232 <div class="clear"> div> 233 div> 234 <div class="post_item"> 235 <div class="digg"> 236 <div class="diggit" onclick= "DiggPost('liulun',4714858,32486,1)"> 237 <span class="diggnum" id= "digg_count_4714858">1span> 238 div> 239 <div class="clear"> div> 240 <div id="digg_tip_4714858" class= "digg_tip">div> 241 div> 242 <div class="post_item_body"> 243 <h3><a class= "titlelnk" href="http://www.cnblogs.com/liulun/p/4714858.html" target= "_blank">Using Nim language to develop windows GUI graphical interface programa> h3> 244 <p class="post_item_summary"> 245 <a href="http://www.cnblogs.com/liulun/" target="_blank"><img width="48" height="48" class="pfs" src="http:// /pic.cnblogs.com/face/u28932.png?id=12164046" alt=""> a> Preface This article received strong support from "Musician". We debugged the program together until late at night. Without his help, I don't know how long it would have taken to get over this hurdle. In addition, there are other people in "Guixin" who also provided help. They are all from the QQ group: "Nim Development Concentration Camp" 469329878; interested friends can join this group to discuss configuring the GUI development environment. In this blog, I wrote about setting up the Nim development environment... 246 p> 247 <div class="post_item_foot"> 248 <a href="http://www.cnblogs.com/liulun/" class="lightblue">liuluna> 249 发布于 2015-08-09 17:47 250 <span class="article_comment"><a href="http://www.cnblogs.com/liulun/p/4714858.html#commentform" title="" class="gray"> 251 评论(0)a>span><span class="article_view"><a href="http://www.cnblogs.com/liulun/p/4714858.html" class="gray">阅读(175)a>span>div> 252 div> 253 <div class="clear">div> 254 div> 255 <div class="post_item"> 256 <div class="digg"> 257 <div class="diggit" onclick="DiggPost('klguang',4715529,232502,1)"> 258 <span class="diggnum" id="digg_count_4715529">2span> 259 div> 260 <div class="clear">div> 261 <div id="digg_tip_4715529" class="digg_tip">div> 262 div> 263 <div class="post_item_body"> 264 <h3><a class="titlelnk" href="http://www.cnblogs.com/klguang/p/4715529.html" target="_blank">JSP执行过程详解a>h3> 265 <p class="post_item_summary"> 266 复习JSP的概念 JSP是Java Server Page的缩写,在传统的HTML页面中加入JSP标签和java的程序片段就构成了JSP。 JSP的基本语法:两种注释类型、三个脚本元素、三个元素指令、八个动作指令。Commonly used built-in objects of JSP are: Request, Response, Out, Session,... 267 p> 268 <div class="post_item_foot"> 269 <a href="http://www.cnblogs.com/klguang/" class="lightblue">klguanga> 270 Published on 2015-08-09 17:46 271 <span class="article_comment"><a href="http://www.cnblogs.com/klguang/p/4715529.html#commentform" title="" class="gray"> 272 Comments (0)a>span> <span class="article_view"><a href ="http://www.cnblogs.com/klguang/p/4715529.html" class="gray"> ;Read(71)a>span>div> 273 div> 274 <div class="clear"> div> 275 div> 276 <div class="post_item"> 277 <div class="digg"> 278 <div class="diggit" onclick= "DiggPost('Lance--blog',4715495,226155,1)"> 279 <span class="diggnum" id= "digg_count_4715495">0span> 280 div> 281 <div class="clear"> div> 282 <div id="digg_tip_4715495" class= "digg_tip">div> 283 div> 284 <div class="post_item_body"> 285 <h3><a class= "titlelnk" href="http://www.cnblogs.com/Lance--blog/p/4715495.html" target="_blank">Summary on the configuration of PHPstorm's git environment and the generation of git keysa >h3> 286 <p class="post_item_summary"> 287 <a href="http://www.cnblogs.com/Lance--blog/" target="_blank"><img width="48 " height="48" class="pfs" src=" http://pic.cnblogs.com/face/752442/20150502152858.png" alt="">a> Configuring the git environment on phpstorm always feels very simple, and I don’t find that seemingly simple things waste a lot of my time.我在网上查了一下关于phpstorm的git环境的配置没有具体的总结所以我把自己的配过程简单总结了一下接下来是我的配置环境的具体步骤一:在PHPstorm中配置 git环境(1)点击phpstorm的file->... 288 p> 289 <div class="post_item_foot"> 290 <a href="http://www.cnblogs.com/Lance--blog/" class="lightblue">lance--bloga> 291 发布于 2015-08-09 17:40 292 <span class="article_comment"><a href="http://www.cnblogs.com/Lance--blog/p/4715495.html#commentform" title="" class="gray"> 293 评论(0)a>span><span class="article_view"><a href="http://www.cnblogs.com/Lance--blog/p/4715495.html" class="gray">阅读(40)a>span>div> 294 div> 295 <div class="clear">div> 296 div> 297 <div class="post_item"> 298 <div class="digg"> 299 <div class="diggit" onclick="DiggPost('now-fighting',4715432,167921,1)"> 300 <span class="diggnum" id="digg_count_4715432">0span> 301 div> 302 <div class="clear">div> 303 <div id="digg_tip_4715432" class="digg_tip">div> 304 div> 305 <div class="post_item_body"> 306 <h3><a class="titlelnk" href="http://www.cnblogs.com/now-fighting/p/4715432.html" target="_blank">Java的Package和Classpatha>h3> 307 <p class="post_item_summary"> 308 <a href="http://www.cnblogs.com/now-fighting/" target="_blank"><img width="48" height="48" class="pfs" src="http://pic.cnblogs.com/face/579605/20140306195458.png" alt="">a> ## Package在Java中,Package是用来包含一系相关实例的集合。这些相关联的实例包括:类、接口、异常、错误以及枚举。Package主要有一些的几点作用:1. Package可以处理名字冲突,在冲突的名字前加上包的名字,通过使用名字的全限定名来访问名字的时候,可以避免名字冲突。因为在不同... 309 p> 310 <div class="post_item_foot"> 311 <a href="http://www.cnblogs.com/now-fighting/" class="lightblue">Now&Fighta> 312 发布于 2015-08-09 17:13 313 <span class="article_comment"><a href="http://www.cnblogs.com/now-fighting/p/4715432.html#commentform" title="" class="gray"> 314 评论(0)a>span><span class="article_view"><a href="http://www.cnblogs.com/now-fighting/p/4715432.html" class="gray">阅读(86)a>span>div> 315 div> 316 <div class="clear">div> 317 div> 318 <div class="post_item"> 319 <div class="digg"> 320 <div class="diggit" onclick="DiggPost('LBSer',4715395,149585,1)"> 321 <span class="diggnum" id="digg_count_4715395">
Related labels:
php
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!