May 11PHP 8 Aplikasi TodoList From Learn PHP OOP part 2Assalamualaikum warrahmatullahi wabarakatuh. this time i just want to upload an image what i’ve learn from udemy1 min readPHP 8 Aplikasi TodoList From Learn PHP OOP part 2Photo by Shahadat Rahman on UnsplashAssalamualaikum warrahmatullahi wabarakatuh.this time i just want to upload an image what i’ve learn from udemy----
Apr 13PHP 8 New FeaturesLearning from UDEMY Assalamualaikum warrahmatullahi wabarakatuh. Comma in Parameter List This is a simple but useful feature, in PHP 8 we can now add a comma at the end of a parameter list, such as when calling functions to create arrays and so on. for more details can see the…3 min read
Apr 12PHP 8 New FeaturesLearning from UDEMY Assalamualaikum warrahmatullahi wabarakatuh. String to number comparison one of the confusing things in PHP is when we compare number and string, for example we compare 0 == “choirul”, then the result is true why is it true? because PHP will do type jugling and change “choirul” to 0, so…4 min read
Apr 12PHP 8 New FeaturesLearning from UDEMY Assalamualaikum warrahmatullahi wabarakatuh. Named Arguments Usually when we call a function, we must enter an argument or parameter according to its position With the ability of named arguments, we can enter arguments or parameters without having to follow their position However, the use of named arguments must mention…3 min read
Apr 9PHP basic OOP from Exception to ReflectionLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh. Exception When we create an application we will not be spared by the name error in PHP errors are represented by the term exception and all are represented in the form of an exception class. …3 min read
Apr 8PHP basic OOP from Magic Function to Date TimeLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh. Magic Function magic function is a function that has been determined by PHP, we can’t create that function unless it’s purpose has been determined, in the previous material we have discussed some magic functions such as __construct() as constructor, __destruct() as destructor and __clone()…3 min read
Apr 6PHP basic OOP from Type Check & Casts to Trait InheritanceLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh. Type Check & Casts previously we already know how to convert data types instead of classes, specifically for object data types we don’t need explicit conversions, but to be safe before doing casts make sure we do a type check (checking data types) using…6 min read
Apr 5PHP basic OOP Visibility to PolymorphismLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh, Visibility Visibility / Access modifier is the ability of properties, functions and constants to be accessed from anywhere, by default the properties, functions and constants that we create in a class can be accessed from anywhere or that means they are public. In addition…3 min read
Apr 4PHP basic OOP Constructor to ImportLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh. Constructor Constructor , when we create an Object, we are like calling a function because we use brackets (), in a PHP class we can create a constructor. …4 min read
Apr 1PHP basic OOP Class to Self KeywordLearning from Udemy Assalamualaikum warrahmatullahi wabarakatuh. PHP OOP Object Oriented Programming Object Oriented Programming is a conceptual programming language point of view object. …3 min read