Skip to content

Instantly share code, notes, and snippets.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
0x00000001011fec8d in _zend_hash_add_or_update ()
(gdb) bt
#0 0x00000001011fec8d in _zend_hash_add_or_update ()
#1 0x0000000101a10aa3 in php_sphinx_client_get_properties ()
#2 0x00000001019e456a in xdebug_var_export ()
#3 0x00000001019e489f in xdebug_array_element_export ()
#4 0x00000001011fdcbf in zend_hash_apply_with_arguments ()
#5 0x00000001019e4526 in xdebug_var_export ()
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace MCNCore\View\Helper;
use MCNCore\Object\AbstractObject,
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace MCNCore\View\Helper;
use MCNCore\Object\AbstractObject,
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace MCNCore\View\Helper;
use MCNCore\Object\AbstractObject,
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace Company\Form\Company;
use Zend\Form\Form,
franchise:~ antoine$ vim /opt/local/apache2/conf/httpd.conf
Error detected while processing /Users/antoine/.vimrc:
line 2:
E492: Not an editor command: deline and Notes {
line 44:
E117: Unknown function: vundle#rc
line 45:
E492: Not an editor command: Bundle 'EvanDotPro/vundle', 'feature/refactor-git-treeish-support', {'local': 1}
line 68:
E492: Not an editor command: Bundle 'scrooloose/nerdtree', '4.2.0'
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace MCN;
use Zend\ModuleManager\ModuleManager,
<?php
$imagick = new Imagick();
$imagick->readImage('image.jpeg');
$it = $imagick->getPixelIterator();
$width = $imagick->getImageWidth();
$height = $imagick->getImageHeight();
<?php
/**
* @author Antoine Hedgecock <antoine@pmg.se>
*/
/**
* @namespace
*/
namespace Facebook;
public function onBootstrap($e)
{
$sm = $e->getApplication()
->getServiceManager();
$sm->get('view_manager')
->getHelperManager()
->setFactory('fb', function($sm) {
return new View\Helper\Facebook($sm->get('facebook_service'));