esto es un print_r
Array
(
[kind] => customsearch#search
[url] => Array
(
[type] => application/json
[template] => https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json
)
[queries] => Array
(
[request] => Array
(
[0] => Array
(
[title] => Google Custom Search - casino
[totalResults] => 146000
[searchTerms] => casino
[count] => 10
[startIndex] => 1
[inputEncoding] => utf8
[outputEncoding] => utf8
[safe] => off
[cx] => de662f651a05df69f
[rights] => cc_publicdomain
[searchType] => image
[imgSize] => xlarge
)
)
[nextPage] => Array
(
[0] => Array
(
[title] => Google Custom Search - casino
[totalResults] => 146000
[searchTerms] => casino
[count] => 10
[startIndex] => 11
[inputEncoding] => utf8
[outputEncoding] => utf8
[safe] => off
[cx] => de662f651a05df69f
[rights] => cc_publicdomain
[searchType] => image
[imgSize] => xlarge
)
)
)
[context] => Array
(
[title] => Focusgn
)
[searchInformation] => Array
(
[searchTime] => 0.639745
[formattedSearchTime] => 0.64
[totalResults] => 146000
[formattedTotalResults] => 146,000
)
[items] => Array
(
[0] => Array
(
[kind] => customsearch#result
[title] => Damage to Casino Pier (NJ) | Aerial photo of Casino Pier amu… | Flickr
[htmlTitle] => Damage to Casino Pier (NJ) | Aerial photo of Casino Pier amu… | Flickr
[link] => https://live.staticflickr.com/8185/8151148295_2302d1f4d3_b.jpg
[displayLink] => www.flickr.com
[snippet] => Damage to Casino Pier (NJ) | Aerial photo of Casino Pier amu… | Flickr
[htmlSnippet] => Damage to Casino Pier (NJ) | Aerial photo of Casino Pier amu… | Flickr
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://www.flickr.com/photos/usfwsnortheast/8151148295
[height] => 683
[width] => 1024
[byteSize] => 172622
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSReGk7Ms3uG_6KIWMjmo8F_m6dtCADePY1BjUlTrYXB3MG30oQx1JlEw&s
[thumbnailHeight] => 100
[thumbnailWidth] => 150
)
)
[1] => Array
(
[kind] => customsearch#result
[title] => File:El Casino de Santander.PNG - Wikimedia Commons
[htmlTitle] => File:El Casino de Santander.PNG - Wikimedia Commons
[link] => https://upload.wikimedia.org/wikipedia/commons/1/14/El_Casino_de_Santander.PNG
[displayLink] => commons.wikipedia.org
[snippet] => File:El Casino de Santander.PNG - Wikimedia Commons
[htmlSnippet] => File:El Casino de Santander.PNG - Wikimedia Commons
[mime] => image/png
[fileFormat] => image/png
[image] => Array
(
[contextLink] => https://commons.wikipedia.org/wiki/File:El_Casino_de_Santander.PNG
[height] => 600
[width] => 800
[byteSize] => 648382
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSb6epPOeXSnFFulSwSEKmkVBARb39yTB8irrD6YaEijjaY623PqZoqPw&s
[thumbnailHeight] => 107
[thumbnailWidth] => 143
)
)
[2] => Array
(
[kind] => customsearch#result
[title] => Royal Caribbean Grandeur of the Seas cruise ship casino sl… | Flickr
[htmlTitle] => Royal Caribbean Grandeur of the Seas cruise ship casino sl… | Flickr
[link] => https://live.staticflickr.com/7476/15318445103_71922023eb_b.jpg
[displayLink] => www.flickr.com
[snippet] => Royal Caribbean Grandeur of the Seas cruise ship casino sl… | Flickr
[htmlSnippet] => Royal Caribbean Grandeur of the Seas cruise ship casino sl… | Flickr
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://www.flickr.com/photos/watts_photos/15318445103
[height] => 700
[width] => 1024
[byteSize] => 311059
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRwVG1XsOvOaI6AqF7E9mcjfRzidEwFeR6zFsfm-Y-6byIprRbJx2svrg&s
[thumbnailHeight] => 103
[thumbnailWidth] => 150
)
)
[3] => Array
(
[kind] => customsearch#result
[title] => File:Marines and sailors attended 5th annual Casino Royale event ...
[htmlTitle] => File:Marines and sailors attended 5th annual Casino Royale event ...
[link] => https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/Marines_and_sailors_attended_5th_annual_Casino_Royale_event_130928-M-WI309-003.jpg/1024px-Marines_and_sailors_attended_5th_annual_Casino_Royale_event_130928-M-WI309-003.jpg
[displayLink] => en.wikipedia.org
[snippet] => File:Marines and sailors attended 5th annual Casino Royale event ...
[htmlSnippet] => File:Marines and sailors attended 5th annual Casino Royale event ...
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://en.wikipedia.org/wiki/File:Marines_and_sailors_attended_5th_annual_Casino_Royale_event_130928-M-WI309-003.jpg
[height] => 683
[width] => 1024
[byteSize] => 133235
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRKei4ZftlXhUnSk1TpN2SUC3YkoIqLtQnKNUKmZZEjrm71QKcMP2mbWg&s
[thumbnailHeight] => 100
[thumbnailWidth] => 150
)
)
[4] => Array
(
[kind] => customsearch#result
[title] => Casino Dice | Nice high-res stock photo of casino dice on gr… | Flickr
[htmlTitle] => Casino Dice | Nice high-res stock photo of casino dice on gr… | Flickr
[link] => https://live.staticflickr.com/5485/11275288753_0ee89294dc_b.jpg
[displayLink] => www.flickr.com
[snippet] => Casino Dice | Nice high-res stock photo of casino dice on gr… | Flickr
[htmlSnippet] => Casino Dice | Nice high-res stock photo of casino dice on gr… | Flickr
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://www.flickr.com/photos/davidgsteadman/11275288753
[height] => 683
[width] => 1024
[byteSize] => 147429
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcToVbTvx4v9FdvRb1P6ije36Ihrv3i5sEAKfyNb4J9ylvR5ea3_gxXaeYs&s
[thumbnailHeight] => 100
[thumbnailWidth] => 150
)
)
[5] => Array
(
[kind] => customsearch#result
[title] => File:Casino Cartagena.jpg - Wikimedia Commons
[htmlTitle] => File:Casino Cartagena.jpg - Wikimedia Commons
[link] => https://upload.wikimedia.org/wikipedia/commons/4/48/Casino_Cartagena.jpg
[displayLink] => commons.wikimedia.org
[snippet] => File:Casino Cartagena.jpg - Wikimedia Commons
[htmlSnippet] => File:Casino Cartagena.jpg - Wikimedia Commons
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://commons.wikimedia.org/wiki/File:Casino_Cartagena.jpg
[height] => 909
[width] => 682
[byteSize] => 204331
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFxdT0ZSntzJ8O-qvmtSkpJJ7tTUmz5KLUGgQPIyg-y0P96pvmGYaMNw&s
[thumbnailHeight] => 147
[thumbnailWidth] => 110
)
)
[6] => Array
(
[kind] => customsearch#result
[title] => Royal Caribbean Grandeur of the Seas cruise ship casino ro… | Flickr
[htmlTitle] => Royal Caribbean Grandeur of the Seas cruise ship casino ro… | Flickr
[link] => https://live.staticflickr.com/7505/15731994527_73816aef2c_b.jpg
[displayLink] => www.flickr.com
[snippet] => Royal Caribbean Grandeur of the Seas cruise ship casino ro… | Flickr
[htmlSnippet] => Royal Caribbean Grandeur of the Seas cruise ship casino ro… | Flickr
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://www.flickr.com/photos/watts_photos/15731994527
[height] => 683
[width] => 1024
[byteSize] => 200133
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQvfTe5GCoVVPF8ifiIYWqmxuGxPrby3lOE8Gc91wzhWwyZ3JcTgf_UNQ&s
[thumbnailHeight] => 100
[thumbnailWidth] => 150
)
)
[7] => Array
(
[kind] => customsearch#result
[title] => File:Casino-Dommayer-(1907).jpg - Wikimedia Commons
[htmlTitle] => File:Casino-Dommayer-(1907).jpg - Wikimedia Commons
[link] => https://upload.wikimedia.org/wikipedia/commons/9/90/Casino-Dommayer-%281907%29.jpg
[displayLink] => commons.wikimedia.org
[snippet] => File:Casino-Dommayer-(1907).jpg - Wikimedia Commons
[htmlSnippet] => File:Casino-Dommayer-(1907).jpg - Wikimedia Commons
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://commons.wikimedia.org/wiki/File:Casino-Dommayer-(1907).jpg
[height] => 562
[width] => 1001
[byteSize] => 809970
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSmpAy42bfkokpqopp9xdjDMAQpSkcEpldqskiTH1opv7ZvmDEnTXV7ca0&s
[thumbnailHeight] => 84
[thumbnailWidth] => 149
)
)
[8] => Array
(
[kind] => customsearch#result
[title] => Excalibur Hotel and Casino. Las Vegas. | Excalibur Hotel and… | Flickr
[htmlTitle] => Excalibur Hotel and Casino. Las Vegas. | Excalibur Hotel and… | Flickr
[link] => https://live.staticflickr.com/5785/30419731896_452452ec7b_b.jpg
[displayLink] => www.flickr.com
[snippet] => Excalibur Hotel and Casino. Las Vegas. | Excalibur Hotel and… | Flickr
[htmlSnippet] => Excalibur Hotel and Casino. Las Vegas. | Excalibur Hotel and… | Flickr
[mime] => image/jpeg
[fileFormat] => image/jpeg
[image] => Array
(
[contextLink] => https://www.flickr.com/photos/volvob12b/30419731896
[height] => 720
[width] => 1024
[byteSize] => 144226
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQqIG-p_h2qlK5JYCXXmdO14r8VMtCdCLqzrmNzBeFC2P2XwaHkPb9Z670&s
[thumbnailHeight] => 105
[thumbnailWidth] => 150
)
)
[9] => Array
(
[kind] => customsearch#result
[title] => File:Logo actuel Banque Casino.png - Wikimedia Commons
[htmlTitle] => File:Logo actuel Banque Casino.png - Wikimedia Commons
[link] => https://upload.wikimedia.org/wikipedia/commons/1/1a/Logo_actuel_Banque_Casino.png
[displayLink] => commons.wikimedia.org
[snippet] => File:Logo actuel Banque Casino.png - Wikimedia Commons
[htmlSnippet] => File:Logo actuel Banque Casino.png - Wikimedia Commons
[mime] => image/png
[fileFormat] => image/png
[image] => Array
(
[contextLink] => https://commons.wikimedia.org/wiki/File:Logo_actuel_Banque_Casino.png
[height] => 700
[width] => 700
[byteSize] => 39921
[thumbnailLink] => https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRHQUhLIUJM6BFAe_HDO5XJk5urhSPpqRatQphiXcw2-O38VTnG30nEKOr&s
[thumbnailHeight] => 140
[thumbnailWidth] => 140
)
)
)
)
esto es un foreach