Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Milad miladganjali

🎯
Focusing
Block or report user

Report or block miladganjali

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@miladganjali
miladganjali / linkify.php
Created Oct 11, 2019 — forked from jasny/linkify.php
PHP function to turn all URLs in clickable links
View linkify.php
<?php
/**
* Turn all URLs in clickable links.
*
* @param string $value
* @param array $protocols http/https, ftp, mail, twitter
* @param array $attributes
* @return string
*/
public function linkify($value, $protocols = array('http', 'mail'), array $attributes = array())
You can’t perform that action at this time.