Completed
Pull Request — master (#66)
by
unknown
17:19
created
example/example_basic_selector.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,36 +9,36 @@
 block discarded – undo
9 9
 
10 10
 // find all link
11 11
 foreach ($html->find('a') as $e) {
12
-    echo $e->href . '<br>';
12
+    echo $e->href.'<br>';
13 13
 }
14 14
 
15 15
 // find all image
16 16
 foreach ($html->find('img') as $e) {
17
-    echo $e->src . '<br>';
17
+    echo $e->src.'<br>';
18 18
 }
19 19
 
20 20
 // find all image with full tag
21 21
 foreach ($html->find('img') as $e) {
22
-    echo $e->outertext . '<br>';
22
+    echo $e->outertext.'<br>';
23 23
 }
24 24
 
25 25
 // find all div tags with id=gbar
26 26
 foreach ($html->find('div#gbar') as $e) {
27
-    echo $e->innertext . '<br>';
27
+    echo $e->innertext.'<br>';
28 28
 }
29 29
 
30 30
 // find all span tags with class=gb1
31 31
 foreach ($html->find('span.gb1') as $e) {
32
-    echo $e->outertext . '<br>';
32
+    echo $e->outertext.'<br>';
33 33
 }
34 34
 
35 35
 // find all td tags with attribute align=center
36 36
 foreach ($html->find('td[align=center]') as $e) {
37
-    echo $e->innertext . '<br>';
37
+    echo $e->innertext.'<br>';
38 38
 }
39 39
 
40 40
 // extract text from table
41
-echo $html->find('td[align="center"]', 1)->plaintext . '<br><hr>';
41
+echo $html->find('td[align="center"]', 1)->plaintext.'<br><hr>';
42 42
 
43 43
 // extract text from HTML
44 44
 echo $html->plaintext;
Please login to merge, or discard this patch.