{"id":1000299,"date":"2006-12-01T09:20:00","date_gmt":"2006-12-01T14:20:00","guid":{"rendered":"http:\/\/www.elharo.com\/blog\/software-development\/2006\/12\/01\/ide-needed-to-hack-on-php-not-with-php\/"},"modified":"2006-12-01T09:20:00","modified_gmt":"2006-12-01T14:20:00","slug":"ide-needed-to-hack-on-php-not-with-php","status":"publish","type":"post","link":"https:\/\/www.elharo.com\/blog\/software-development\/c\/2006\/12\/01\/ide-needed-to-hack-on-php-not-with-php\/","title":{"rendered":"IDE needed to Hack on PHP (not with PHP)"},"content":{"rendered":"<p>A piece I&#8217;m writing for IBM developerWorks has turned into the article that ate Pittsburgh. Trying to understand and document a certain class keeps leading me deeper into PHP internals, and is revealing some bugs in a certain PHP extension bundled with PHP 5.1 and later. Naturally I want to fix these.<\/p>\n<p>However it&#8217;s all C code, and I haven&#8217;t done any serious C work in 15 years. (I did write some C++ about eight years ago, but this is straight C, not C++.)<\/p>\n<p>What IDE are folks using on the Mac (or alternately Linux) to hack PHP itself? Xcode? Eclipse with the C development tools installed? Something else? This is just a short quick open source patch project (I hope) so I&#8217;d prefer not to pay multiple hundreds of dollars; just use the simplest, quickest thing that will get the job done.<br \/>\n<!--more--><\/p>\n<p>I could use a raw text editor and gcc; but I don&#8217;t really know the PHP code base, and so I&#8217;d like an editor that allows me to click on a function name or macro name and jump straight to its definition. For instance, I&#8217;m encountering things like macros named <code>RETURN_TRUE<\/code> inside void methods.  What the heck is that doing?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A piece I&#8217;m writing for IBM developerWorks has turned into the article that ate Pittsburgh. Trying to understand and document a certain class keeps leading me deeper into PHP internals, and is revealing some bugs in a certain PHP extension bundled with PHP 5.1 and later. Naturally I want to fix these. However it&#8217;s all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[410],"class_list":["post-1000299","post","type-post","status-publish","format-standard","hentry","category-c","tag-flash"],"_links":{"self":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/comments?post=1000299"}],"version-history":[{"count":0,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000299\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/media?parent=1000299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/categories?post=1000299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/tags?post=1000299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}