#1112: Remove unnecessary use of create_function() in AgaviInarrayValidator
------------------------+---------------------------------------------------
 Reporter:  david       |       Owner:  dominik
     Type:  task        |      Status:  new    
 Priority:  normal      |   Milestone:  1.0.2  
Component:  validation  |     Version:  1.0.1  
 Severity:  normal      |    Keywords:         
Has_patch:  0           |  
------------------------+---------------------------------------------------
 brilliant stuff:
 {{{
 #!php
 <?php
 // ...
 $list = array_map(create_function('$a', 'return strtolower($a);'), $list);
 }}}

 on the bright side, it ''does'' have the advantage of being slower ''and''
 leaking memory :>

-- 
Ticket URL: <http://trac.agavi.org/ticket/1112>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to