Javascipt :
<script type="text/javascript">
function click_o(url){
alert(url);
window.open(url, '_blank');
window.focus();
}
</script>
Html Content:
<a href="javascript:void(0);" onclick="click_o('http://www.jquery.com')">jquery</a>
traits,
a shortened array syntax, a
built-in webserver for testing purposes, use of $this in closures, class member access on instantiation, <?= is always available, and more! register_globals, magic_quotes (about time) and safe_mode. Also worth mentioning is the
fact that multibyte support is enabled by default and default_charset has been changed from
ISO-8859-1 to UTF-8.arrays! echo
explode(' ', 'Alan Mathison
Turing')[1]; // Mathison |
$tmp
= explode(' ', 'Alan Mathison
Turing');echo
$tmp[1]; // Mathison |
array):echo
end(explode(' ', 'Alan Mathison
Turing')); // Turing |
E_STRICT
(Strict Standards: Only variables should be passed by reference) error, since
it became part of E_ALL in error_reporting.function
foobar(){ return
['foo' => ['bar' => 'Hello']];}echo
foobar()['foo']['bar']; // Hello |
$this.cmd, hit Enter); you should see something like this, depending on
your Windows version.Paste to paste). Hit Enter. If all goes well, you should see
something similar to what’s shown below. Do not close the command prompt; if
you do, you will exit the web-server as well.Array
(
[IP] => 122.174.119.205 [ContinentCode] => AS
[ContinentName] => Asia
[CountryCode2] => IN
[CountryCode3] => IND
[Country] => IN
[CountryName] => India
[RegionName] => Tamil Nadu
[CityName] => Chennai
[CityLatitude] => 13.0833
[CityLongitude] => 80.2833
[CountryLatitude] => 20
[CountryLongitude] => 77
[LocalTimeZone] => Asia/Calcutta
[REMOTE_ADDR] => 198.199.93.153
[HTTP_X_FORWARDED_FOR] => 122.174.119.205
[CallingCode] => 91
[Population] => 1,166,079,217 (2)
[AreaSqKm] => 3,287,263 (8)
[GDP_USD] => 3.297 Trillion (4)
[Capital] => New Delhi
[Electrical] => 230 V,50 Hz Type C Type D
[Languages] => Hindi 41%, Bengali 8.1%, Telugu 7.2%, Marathi 7%, Tamil 5.9%, Urdu 5%, Gujarati 4.5%, Kannada 3.7%, Malayalam 3.2%, Oriya 3.2%, Punjabi 2.8%, Assamese 1.3%, Maithili 1.2%, other 5.9%
[Currency] => Indian Rupee (INR)
[Flag] => http://www.codehelper.io/api/ips/proips/flags/IN.jpg
)
(
[geoplugin_request] => 12.215.42.19
[geoplugin_status] => 206
[geoplugin_city] =>
[geoplugin_region] =>
[geoplugin_areaCode] => 0
[geoplugin_dmaCode] => 0
[geoplugin_countryCode] => US
[geoplugin_countryName] => United States
[geoplugin_continentCode] => NA
[geoplugin_latitude] => 38
[geoplugin_longitude] => -97
[geoplugin_regionCode] =>
[geoplugin_regionName] =>
[geoplugin_currencyCode] => USD
[geoplugin_currencySymbol] => $
[geoplugin_currencySymbol_UTF8] => $
[geoplugin_currencyConverter] => 1
)