As Brian Doll, GitHub's VP of Marketing explains it here:
Code without an explicit license is protected by copyright and is by default All Rights Reserved. The person or people who wrote the code are protected as such. Any time you're using software you didn't write, licensing should be considered and abided.
function parse ($url)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
$result = curl_exec($curl);
return $result;
}
echo parse('https://sofifa.com/');
<td class="sr-page__list__item_img">
<? if( $v['imgs'] ): ?>
<span class="rel inlblk">
<a title="<?= $v['title'] ?>" href="<?= $v['link'] ?>" class="thumb stack rel inlblk">
<img alt="<?= $v['title'] ?>" src="<?= $v['img_s'] ?>" class="rel br2 zi3 shadow" />
<? if( $v['imgs'] > 1 ): ?>
<span class="abs border b2 shadow"> </span>
<span class="abs border r2 shadow"> </span>
<? endif; ?>
<? else: ?>
<img class="rel br2 zi3 shadow" src="def-m.png" alt="Алиса">
</a>
</span>
<? endif; ?>
</td>
{ "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },
if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
echo 'Я использую PHP версии не ниже 7.0.0, моя версия: ' . PHP_VERSION . "\n";
}
if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
echo 'Я использую PHP версии не ниже 5.3.0, моя версия: ' . PHP_VERSION . "\n";
}
if (version_compare(PHP_VERSION, '5.0.0', '>=')) {
echo 'Я использую PHP 5.0.0 или выше, моя версия: ' . PHP_VERSION . "\n";
}
if (version_compare(PHP_VERSION, '5.0.0', '<')) {
echo 'Я до сих пор использую PHP 4, моя версия: ' . PHP_VERSION . "\n";
}
$array = $arr2+$arr
, т.е. обьеденил задом наперед, $arr2
перезаписывает $arr
, мне так и нужно.DELETE FROM pos WHERE num < 10000
?num::integer < 10000
. .quadmenu-item {
background-color: #000;
-webkit-transition: background-color 0ms linear;
transition: background-color 0ms linear;
-webkit-transition-delay: 5s;
transition-delay: 5s;
}
.quadmenu-item:hover {
background-color: #f00;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}