[wp-gsoc] [Summer of Code] #335: Check php syntax before writting new content to file

Summer of Code noreply at wordpress.org
Tue Jul 23 11:57:05 UTC 2013


#335: Check php syntax before writting new content to file
----------------------------+----------------------------------
 Reporter:  a.hoereth       |       Owner:
     Type:  task            |      Status:  new
 Priority:  normal          |   Milestone:  2013 Midterm (Beta)
Component:  Code Revisions  |  Resolution:
 Keywords:                  |
----------------------------+----------------------------------

Comment (by a.hoereth):

 Re:[2142]
 Uses eval() with a if(0){} sandbox so the errors don't stop the code
 execution. Brace balance is checked beforehand so the code does not break
 out of the sandbox.

 Possible problem: eval might be disabled on some hosts!
 The usage of eval should not be dangerous here because one can execute
 whatever code he might want to execute as soon as he got access to the
 code editors.

--
Ticket URL: <http://gsoc.trac.wordpress.org/ticket/335#comment:2>
Summer of Code <http://gsoc.trac.wordpress.org>
My example project


More information about the wp-gsoc mailing list