Tag

Weak Typing

1 views collected around this technical thread.

Laravel Tech Community
Laravel Tech Community
Apr 12, 2022 · Information Security

Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues

This article explains several PHP weak‑type pitfalls—including MD5 hash collisions, improper handling by is_numeric, unexpected behavior of in_array and switch, and intval casting quirks—showing how they can lead to security problems such as hash collisions, SQL injection, and logic errors.

Hash CollisionWeak Typinginput validation
0 likes · 4 min read
Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues
Python Programming Learning Circle
Python Programming Learning Circle
Mar 14, 2022 · Fundamentals

Understanding Variables in Python: Definition, Assignment, and Usage

This article explains Python variables, covering their definition as memory containers, naming conventions, assignment syntax, reassignment, using variables in expressions and functions, and illustrates Python's weak typing compared to strong‑typed languages with code examples.

AssignmentProgramming BasicsPython
0 likes · 7 min read
Understanding Variables in Python: Definition, Assignment, and Usage
Laravel Tech Community
Laravel Tech Community
Apr 29, 2021 · Backend Development

Understanding PHP Weak Typing Pitfalls and Secure Comparison Practices

The article explains how PHP's weak typing can lead to security vulnerabilities through loose comparisons, demonstrates dangerous examples such as hash, bool, numeric, switch, and array comparisons, and provides safer alternatives using strict operators, hash_equals, input validation, and proper type checks.

Weak Typingbackendcomparison
0 likes · 10 min read
Understanding PHP Weak Typing Pitfalls and Secure Comparison Practices
Python Programming Learning Circle
Python Programming Learning Circle
Mar 15, 2021 · Fundamentals

Understanding Python Variables, Assignment, and Weak Typing

This article explains Python variables and constants, how to assign values using the = operator, naming rules, reassignment, expression assignment, variable usage in expressions, and the characteristics of Python as a weakly typed language with type‑checking examples.

AssignmentPythonWeak Typing
0 likes · 6 min read
Understanding Python Variables, Assignment, and Weak Typing