$var1 = 'hello';
$var2 = $var1; // In C the variable var2 is created in memory right here
$var2 = 'bye'; // In PHP the variable var2 is created in memory here, up until now it still uses the same location of memory as var1
So in general, references should only be used if you want to work with the original variable, as it does not save memory or processing time.
Because of the EU (a good thing) newer android devices been getting 5 years worth of security patches. Except some Motorola which found the loop hole, and offer ZERO updates. In addition, Google for years have been making where it can patch some stuff by updating the core Google Play Store itself.
As echoed earlier, you take the security risk in to your own hand beyond supported.
Win11Debloat 06.11.2026 by Razvan Serea
Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users.
All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here.
Win11Debloat features:
Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset.
Remove a wide variety of preinstalled apps. Click here for more info.
Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
Disable tips, tricks, suggestions & ads across Windows.
Disable Windows location services & app location access.
Disable Find My Device location tracking.
Disable 'Windows Spotlight' and tips & tricks on the lock screen.
Disable 'Windows Spotlight' desktop background option.
Disable ads, suggestions and the MSN news feed in Microsoft Edge.
Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely.
Disable & remove Microsoft Copilot.
Disable Windows Recall.
Disable Click to Do, AI text & image analysis tool.
Prevent AI service (WSAIFabricSvc) from starting automatically.
Disable AI Features in Edge.
Disable AI Features in Paint.
Disable AI Features in Notepad.
Disable the Drag Tray for sharing & moving files.
Restore the old Windows 10 style context menu.
Turn off Enhance Pointer Precision, also known as mouse acceleration.
Disable the Sticky Keys keyboard shortcut.
Disable Storage Sense automatic disk cleanup.
Disable fast start-up to ensure a full shutdown.
...and more.
Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps:
Locate the Get.ps1 script file.
Right-click the file and select Run with PowerShell from the context menu.
If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions.
Win11Debloat 06.11.2026 fixes:
Fix lock screen spotlight option being disabled when disabling the start recommended section by @Raphire in #619
Fix log message formatting by @Raphire
Note
The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps.
Download: Win11Debloat 06.11.2026 | Open Source
View: Win11Debloat Home Page | Screenshots 1| 2
Get alerted to all of our Software updates on Twitter at @NeowinSoftware
Yes for me, I installed 'old calculator' (Windows 7 calculator) in its place since it is more useful to me. I think paint is the only one I left installed
Question
balupton
It seems that a lot or even most php programmers just jumped in and never read the manual or even know basic syntax...
The ones I see all the time are:
Not checking variable existence by just doing
instead of the correct
which will not return a notice exception
Reference: http://au3.php.net/manual/en/language.variables.php
Using short tags
instead of the proper
which will run on many more servers
Reference: http://php.net/manual/en/language.basic-syntax.php
Also the misuse of double quotes
should be
which saves processing time
Reference: http://php.net/manual/en/language.types.st...g.syntax.single
Those are just some of the most common ones.
So what i'm asking is:
Why didn't you know this stuff if you didn't before hand?
Or if you did know this, then why do you think things like this are so ignored?
Note:
The option "I thought I did until now." should read "No, I'm a professional developer."
The option "No." should read "No, I'm a unprofessional developer."
-------------------
This thread has kinda turned into a tips thread, so here are a collection of tips that have been collected so far.
Single quotes vs Double quotes
https://www.neowin.net/forum/index.php?show...amp;p=588249172
Switch statements VS if then else statements
switch ($var) { case $option1: break; case $option2: break; default: break; } // is faster than if ( $var == $option1 ) { } elseif ( $var == $option2 ) { } else { }Thanks to redFX for reminding us of that:
https://www.neowin.net/forum/index.php?show...amp;p=588271991
If then else statements VS ternary statements
if ( false ) { echo 'true'; } else { echo 'false'; } // if faster than echo (false ? 'true' : 'false'); // which is faster than echo false ? 'true' : 'false';Also applies for $var =, instead of echo. Thanks to redFX for that:
https://www.neowin.net/forum/index.php?show...amp;p=588271991
Pre-Increment VS Post-Increment
This applies everywhere, so in for loops etc. Thanks to phpmozzer for that:
https://www.neowin.net/forum/index.php?show...amp;p=588271806
Loops in order of speed
for, foreach, while, do-while. Thanks to redFX for that:
https://www.neowin.net/forum/index.php?show...amp;p=588271808
Strict (===) comparison is faster than loose (==) comparison.
https://www.neowin.net/forum/index.php?show...amp;p=588271983
Instantiating classes
Thanks to http://www.php.lt/benchmark/phpbench.php
For loops and size calculations
for ( $i = 0, $n = sizeof($array); $i < $n; $i++ ) {} // is faster than for ( $i = 0; $i < sizeof($array); $i++ ) {}https://www.neowin.net/forum/index.php?show...amp;p=588249623
Variable declarations and memory
So in general, references should only be used if you want to work with the original variable, as it does not save memory or processing time.
https://www.neowin.net/forum/index.php?show...amp;p=588249172
If you know any others, feel free to post them :)
Edited by baluptonLink to comment
https://www.neowin.net/forum/topic/531433-php-do-you-know-basic-syntax/Share on other sites
39 answers to this question
Recommended Posts