(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<?php | |
class Url { | |
public $protocol = ""; | |
public $domain = ""; | |
public $path = ""; | |
public function __construct($url_string){ | |
$this->protocol = $this->_extractProtocol($url_string); | |
$this->domain = $this->_extractDomain($url_string); |
<?php | |
class WordWrapTest extends PHPUnit_Framework_TestCase { | |
public function testDoNotWrapWhenNoText() { | |
$text = ""; | |
$actual = word_wrap($text, 60); | |
$this->assertEquals("", $actual); | |
} |
--- library/Zend/Db/Table/Abstract.php (revision 23831) | |
+++ library/Zend/Db/Table/Abstract.php (working copy) | |
@@ -410,6 +410,16 @@ | |
} | |
/** | |
+ * @param string $rowClass | |
+ * @param array $data | |
+ * @return Zend_Db_Table_Row_Abstract | |
+ */ |
# This command converts: | |
# } | |
# else { | |
# echo $bleh; | |
# } | |
# | |
# to: | |
# } else { | |
# echo $bleh; | |
# } |