File: use6.php

package info (click to toggle)
phpab 1.25.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 768 kB
  • sloc: php: 3,227; xml: 257; makefile: 29
file content (12 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

namespace demo\a {

   class demo2 {
       public function foo() {
           $a = 123;
           $x = function($y) use ($a) {};
       }
   }
}
?>