This file contains 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 | |
class FooControllerConventional | |
{ | |
function indexView() { | |
$model = new FooModel(); | |
$viewData = $model->fetchAll(); | |
$view = new FooView(); | |
$view->render($viewData); | |
} | |
} |
This file contains 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 | |
class Rectangle | |
{ | |
private $_width; | |
private $_height; | |
public function getWidth() | |
{ | |
return $this->_width; |
This file contains 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
[ | |
{ | |
"name":"Tanner Young", | |
"phones":[ | |
{ | |
"name": "home", | |
"number": "1-802-826-8704" | |
}, | |
{ | |
"name": "fax", |
This file contains 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
I had to run find to figure out where bz2.so was: | |
$ sudo find / -name bz2.so | |
... | |
Should turn something up - I hope. Change the eclipse path below to whatever you find. If you can't find anything you might have to install Zend Studio or figure out another source. Then from the PHP source folder: | |
$ ./configure --enable-mysqlnd --with-gd --enable-mbstring --with-bz2=/Applications/eclipse/plugins/org.zend.php.debug.debugger.macosx_5.3.7.v20091124/resources/php5/ext/ --with-zlib --with-curl --with-curlwrappers | |
$ make |
NewerOlder