This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
require_once 'Zend/Markup.php'; | |
$source = <<<string | |
[list] | |
[*] Subject 1 | |
[list] | |
[*] First | |
[*] Second |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Feed/Writer/Feed.php'; | |
/** | |
* Create the parent feed | |
*/ | |
$feed = new Zend_Feed_Writer_Feed; | |
$feed->setTitle('Paddy\'s Podcast'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Filter/StripTags.php'; | |
$source = <<<string | |
<img src=http://www.example.com/image.png></img> | |
string; | |
$filter = new Zend_Filter_StripTags; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://framework.zend.com/favicon.ico | |
GET /favicon.ico HTTP/1.1 | |
Host: framework.zend.com | |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) | |
Accept: image/png,image/*;q=0.8,*/*;q=0.5 | |
Accept-Language: en-gb,en;q=0.5 | |
Accept-Encoding: gzip,deflate | |
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 | |
Keep-Alive: 300 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div style="position: absolute; top: 10px; left: 10px; background-color: red; z-index: 1; width: 100px; height: 100px; margin: 0;"><div> | |
<div style="position: absolute; top: 10px; left: 10px; background-color: green; z-index: 2; width: 100px; height: 100px; margin: 0;"><div> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mutateme_MutableFile | |
[x] Should maintain file path info once passed in constructor | |
[x] Should not have mutations before generation | |
[x] Should not have detected mutables before generation | |
[x] Should not generate mutables for empty class | |
[x] Should not generate mutations for empty class | |
[x] Should not generate mutables if only empty methods in class | |
[x] Should not generate mutations if only empty methods in class | |
[x] Should generate mutables even if method body is not viable | |
[x] Should not generate mutations if method body is not viable |
NewerOlder