{"id":2335,"date":"2022-04-25T05:21:21","date_gmt":"2022-04-25T05:21:21","guid":{"rendered":"https:\/\/swatilathia.com\/?page_id=2335"},"modified":"2023-04-10T05:37:25","modified_gmt":"2023-04-10T05:37:25","slug":"php-video-tutorial","status":"publish","type":"page","link":"https:\/\/swatilathia.com\/?page_id=2335","title":{"rendered":"PHP Video Tutorial"},"content":{"rendered":"<body>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ddf1dd6ed1d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ddf1dd6ed1d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Introduction_to_PHP_How_to_save_PHP_file_How_to_write_PHP_code\" >Introduction to PHP | How to save PHP file | How to write PHP code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Variable_Data_Types\" >PHP Variable &amp; Data Types<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Operators_Arithmetic_Operators\" >PHP Operators | Arithmetic Operators<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Operators_Increment_Decrement_Logical_String_Conditional\" >PHP Operators | Increment | Decrement | Logical | String | Conditional<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Operators_Assignment_Comparison_Relational\" >PHP Operators | Assignment &amp; Comparison (Relational)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Conditional_Looping_structure_If_statement_If_else_Ifelseifelse_Switch_Case_While_Loop\" >PHP Conditional &amp; Looping structure  | If statement | If ..else | If..elseif..else | Switch Case | While Loop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Looping_Structure_Dowhile_For_and_Form_Submission_method_%E2%80%93_GET\" >PHP Looping Structure | Do..while | For and Form Submission method \u2013 GET<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#GET_POST_form_submission_method\" >GET &amp; POST (form submission method)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Form_Submission_Method_%E2%80%93_GETPOST_with_tabular_format\" >Form Submission Method \u2013 GET\/POST with tabular format<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_UDF_%E2%80%93_Argument_Function_and_Default_argument_function\" >PHP UDF \u2013 Argument Function and Default argument function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Variable_as_function_Return_function_Variable_Length_Argument_Functions\" >PHP Variable as function, Return function &amp; Variable Length Argument Functions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_array_Create_an_array_Add_and_Update_elements\" >PHP array | Create an array | Add  and Update elements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Unset_and_reset_values_of_array_and_Foreach_loop\" >Unset and reset values of array and Foreach loop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_Built_In_Functions\" >PHP Built In Functions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Variable_Functions_String_Functions_Part_%E2%80%93_1\" >Variable Functions &amp; String Functions Part \u2013 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#String_Functions_Part_%E2%80%93_2\" >String Functions Part \u2013 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#String_Functions_Part_%E2%80%93_3\" >String Functions Part \u2013 3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#String_Functions_Part_%E2%80%93_4\" >String Functions Part \u2013 4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Array_Functions_Part_1\" >Array Functions Part 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Array_Functions_%E2%80%93_Part_2\" >Array Functions \u2013 Part 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Date_Functions_Part_%E2%80%93_1\" >Date Functions Part \u2013 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Date_Functions_Part_%E2%80%93_2\" >Date Functions Part \u2013 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Math_Functions_Part_%E2%80%93_1\" >Math Functions Part \u2013 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Math_Functions_Part_%E2%80%93_2\" >Math Functions Part \u2013 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#File_Handling_Functions_Part_%E2%80%93_1\" >File Handling Functions Part \u2013 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#File_Handling_Functions_Part_%E2%80%93_2\" >File Handling Functions Part \u2013 2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#File_Handling_Functions_Part_%E2%80%93_3\" >File Handling Functions Part \u2013 3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#File_Handling_Functions_Part_%E2%80%93_4\" >File Handling Functions Part \u2013 4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Miscellaneous_Functions\" >Miscellaneous Functions<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_GD_Library_its_functions\" >PHP GD Library &amp; its functions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Part_1\" >Part 1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Part_2\" >Part 2<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#PHP_OOP_Object_Oriented_Programming\" >PHP OOP (Object Oriented Programming)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#What_is_OOP\" >What is OOP?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Class_Object\" >Class &amp; Object<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#How_to_define_a_class\" >How to define a class<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#How_to_define_objects\" >How to define objects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Access_Modifiers\" >Access Modifiers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#this_Keyword\" >$this Keyword<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-40\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Constructor_function\" >Constructor function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-41\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Destructor_function\" >Destructor function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-42\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Inheritance\" >Inheritance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-43\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Scope_Resolution_Operator\" >Scope Resolution Operator ( : : )<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-44\" href=\"https:\/\/swatilathia.com\/?page_id=2335\/#Autoloading_Class\" >Autoloading Class<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction_to_PHP_How_to_save_PHP_file_How_to_write_PHP_code\"><\/span>Introduction to PHP | How to save PHP file | How to write PHP code<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP introduction | How to Save PHP file | How to run | How to write (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/yDroNNWMjSE?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Variable_Data_Types\"><\/span>PHP Variable &amp; Data Types<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Data Types | PHP variables | How to create PHP variable with simple examples (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/H86Yl8HRNc4?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Operators_Arithmetic_Operators\"><\/span>PHP Operators | Arithmetic Operators<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Operators | Arithmetic Operators| Simple Example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/mJp7KgeI-dw?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Operators_Increment_Decrement_Logical_String_Conditional\"><\/span>PHP Operators | Increment | Decrement | Logical | String | Conditional<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Operators | Increment Decrement | Logical | String | Conditional (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/DMUJDFztmVI?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Operators_Assignment_Comparison_Relational\"><\/span>PHP Operators | Assignment &amp; Comparison (Relational)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Operators : Assignment &amp; Comparison\/Relational | Easy example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/mthI0YYjzwM?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Conditional_Looping_structure_If_statement_If_else_Ifelseifelse_Switch_Case_While_Loop\"><\/span>PHP Conditional &amp; Looping structure  | If statement | If ..else | If..elseif..else | Switch Case | While Loop<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Conditional Structure | If | If..else | If..elseif..else | Switch case | While Loop (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/b7YKMjy4Pyg?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Looping_Structure_Dowhile_For_and_Form_Submission_method_%E2%80%93_GET\"><\/span>PHP Looping Structure | Do..while | For and Form Submission method \u2013 GET <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"Do..while | For loop | Method to submit form (Get) with easy example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/xowz1dkDM8I?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"GET_POST_form_submission_method\"><\/span>GET &amp; POST (form submission method)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"GET &amp; POST Method Introduction with simple example | How to use | When to use (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/swuiOtbrSS4?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Form_Submission_Method_%E2%80%93_GETPOST_with_tabular_format\"><\/span>Form Submission Method \u2013 GET\/POST with tabular format<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"Example of Get\/Post method with tabular format in PHP (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/juzqCDB2uG4?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_UDF_%E2%80%93_Argument_Function_and_Default_argument_function\"><\/span>PHP UDF \u2013 Argument Function and Default argument function<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Argument Function &amp; Default Argument Function | Simple example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/uBolb96yDqg?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Variable_as_function_Return_function_Variable_Length_Argument_Functions\"><\/span>PHP Variable as function, Return function &amp; Variable Length Argument Functions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Variable &amp; Return function | Variable length argument functions With easy example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/VGkSsou7o68?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_array_Create_an_array_Add_and_Update_elements\"><\/span>PHP array | Create an array | Add  and Update elements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"How to Create an array in PHP | example 2 | Add new value | Update existing value (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/oHL0yMFaxQ4?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Unset_and_reset_values_of_array_and_Foreach_loop\"><\/span>Unset and reset values of array and Foreach loop<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"Array example no 3 in PHP | How to unset the values | how to reset array | Foreach loop (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/FbXdQn-Dsz0?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_Built_In_Functions\"><\/span>PHP Built In Functions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Variable_Functions_String_Functions_Part_%E2%80%93_1\"><\/span>Variable Functions &amp; String Functions Part \u2013 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Variable Functions | PHP String Functions - Part - 1 | Simple examples (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/QzMc48KKyzQ?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"String_Functions_Part_%E2%80%93_2\"><\/span>String Functions Part \u2013 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP String Functions Part 2 | Simple example | Easy to understand (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/bORkBYQz1_A?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"String_Functions_Part_%E2%80%93_3\"><\/span>String Functions Part \u2013 3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP String Functions - Part - 3 (Gujarati) | Easy Example\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/j2zsHIaedF8?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"String_Functions_Part_%E2%80%93_4\"><\/span>String Functions Part \u2013 4<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP String Functions - Part 4 | Easy Example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/-Dtc_VDxDX0?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Array_Functions_Part_1\"><\/span>Array Functions Part 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Array Functions Part 1 | Easy Example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/UXVk1arqqBA?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Array_Functions_%E2%80%93_Part_2\"><\/span>Array Functions \u2013 Part 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Array Function Part 2 | Easy Example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/w8dBMPRu0bg?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Date_Functions_Part_%E2%80%93_1\"><\/span>Date Functions Part \u2013 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Date functions Part 1 | Simple example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/C6ZaPmPgscg?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Date_Functions_Part_%E2%80%93_2\"><\/span>Date Functions Part \u2013 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Date Functions Part 2 | Easy example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/YeMBklRYiYQ?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Math_Functions_Part_%E2%80%93_1\"><\/span>Math Functions Part \u2013 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Math functions -  Part 1 | Easy example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/fQPeholTO58?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Math_Functions_Part_%E2%80%93_2\"><\/span>Math Functions Part \u2013 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Math functions - Part 2 | Easy Example (Gujarati)\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/4C2gEhHlgcU?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"File_Handling_Functions_Part_%E2%80%93_1\"><\/span>File Handling Functions Part \u2013 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"File Handling Functions Part 1 | PHP Built In functions | Easy Example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/QcV2kN6csW4?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"File_Handling_Functions_Part_%E2%80%93_2\"><\/span>File Handling Functions Part \u2013 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP File Handling Functions  | Part   2 | Easy examples in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/ug8ICbO4_Bg?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"File_Handling_Functions_Part_%E2%80%93_3\"><\/span>File Handling Functions Part \u2013 3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP File Handling Functions | Part 3 | Easy Example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/IDID8GEYf-s?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"File_Handling_Functions_Part_%E2%80%93_4\"><\/span>File Handling Functions Part \u2013 4<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP File Handling Functions Part 4 | Easy example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/OjQEVTWPY1o?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Miscellaneous_Functions\"><\/span>Miscellaneous Functions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP Miscellaneous Functions | Easy Example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/koONg2iBVF8?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_GD_Library_its_functions\"><\/span>PHP GD Library &amp; its functions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Part_1\"><\/span>Part 1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP's GD Library | Functions | Part 1 | Easy example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/iUSylWzYnDk?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Part_2\"><\/span>Part 2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"zak-oembed-container\"><div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"PHP GD Library Functions | Part 2 | Easy example in Gujarati\" width=\"812\" height=\"457\" src=\"https:\/\/www.youtube.com\/embed\/erYYk_8x35E?list=PLvbhfsw4hYENX7gUHnwaX1tt3I0-nMNRu\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PHP_OOP_Object_Oriented_Programming\"><\/span>PHP OOP (Object Oriented Programming)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_OOP\"><\/span>What is OOP?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">OOP is an abbreviation for<strong> Object-Oriented Programming.<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Writing procedures or functions that perform operations on data is what procedural programming is all about, whereas object-oriented programming is all about creating objects that contain both data and functions.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">There are several advantages to object-oriented programming over procedural programming:<\/p>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li>OOP is faster and easier to implement.<\/li>\n\n\n\n<li>OOP gives the programs a clear structure.<\/li>\n\n\n\n<li>OOP enables you to keep PHP code DRY (Don\u2019t Repeat Yourself) and enables it to maintain, modify, and debug. OOP allows you to create fully reusable applications with less code and in less time.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Class_Object\"><\/span>Class &amp; Object<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">The two main components of object-oriented programming are classes and objects.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Class<\/strong> is a blueprint for objects. Sometimes it is also known as template for the objects. <strong>Object<\/strong> is an instance of a class. Let us understand these two with example.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Let say, <strong>Keyboard<\/strong> is a <strong>Class<\/strong>. A Keyboard can have properties like brandname, color, price, number of keys, type. We can define variables like $brandname, $color, $price to hold the values of these properties. <strong>Logitech, TVS, Zebronics <\/strong> are its <strong>objects<\/strong>. <\/p>\n\n\n\n<p class=\"has-medium-font-size\">When an individual object (<strong>Logitech, TVS, Zebronics<\/strong>) is created, it inherits all of the class\u2019s behaviours and properties, but each object will have a unique set of values for each property.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Another example, say <strong>Subject<\/strong> is a <strong>Class<\/strong> and <strong>PHP, COA, DS<\/strong> are its <strong>objects<\/strong>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">An <strong>object<\/strong> is an instance of a class, and a class is a template for objects. Each individual object that is generated inherits the class\u2019s behaviors and properties, although the values of the properties vary from object to object.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_define_a_class\"><\/span>How to define a class<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">The <strong><em>class<\/em><\/strong> keyword is used to define a class, which is then followed by the class name and two curly braces {}. All of its attributes (properties) and operations (functions) go inside the braces. <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Syntax :<\/strong> <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass classname {\n  \/\/ variable declaration\n  \/\/ function declaration\n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example :<\/strong> Below we are taking Keyboard as Classname, which consists two <strong>properties<\/strong>: brandname and price and four <strong>methods<\/strong> set_brandname(), set_price(), get_brandname(), get_price() to get and set the values of brandname($brandname) and price($price). In a class, variables are called properties and functions are called methods.<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Keyboard\n{\n      private $brandname;\n      private $price;\n\n      \/\/method to set the value of brandname\n      function set_brandname($brandname)\n      {\n           $this-&gt;brandname=$brandname;\n      }\n      function get_brandname()\n      {\n           return ($this-&gt;brandname);\n      }\n      function set_price($price)\n      {\n           $this-&gt;price=$price;\n      }\n      function get_price()\n      {\n           return ($this-&gt;price);\n      }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_define_objects\"><\/span>How to define objects<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">Without objects, classes are useless. A class can be used to create several objects. All the class-defined attributes and methods are present in every object, but their values will vary. The <strong><em>new<\/em><\/strong> keyword is used to create objects that belong to a class.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">For above class Keyborad, we are going to define objects as follows<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Keyboard\n{\n      private $brandname;\n      private $price;\n\n      \/\/method to set the value of brandname\n      function set_brandname($brandname)\n      {\n           $this-&gt;brandname=$brandname;\n      }\n      function get_brandname()\n      {\n           return ($this-&gt;brandname);\n      }\n      function set_price($price)\n      {\n           $this-&gt;price=$price;\n      }\n      function get_price()\n      {\n           return ($this-&gt;price);\n      }\n}\n\/\/object 1\n$logitech=new Keyboard();\n$logitech-&gt;set_brandname(\"LOGITECH\");\necho \"Brandname is \".$logitech-&gt;get_brandname().\"&lt;br&gt;\";\n$logitech-&gt;set_price(1500);\necho \"Price is \".$logitech-&gt;get_price().\"&lt;br&gt;\";\n\n\/\/object 2\n$tvs=new Keyboard();\n$tvs-&gt;set_brandname('TVS');\necho \"Brandname is \".$tvs-&gt;get_brandname().\"&lt;br&gt;\";\n$tvs-&gt;set_price(2500);\necho \"Price is \".$tvs-&gt;get_price().\"&lt;br&gt;\";\n\n\/\/Output \nLogitech\n1500\nTVS\n2500<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Access_Modifiers\"><\/span>Access Modifiers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">In above example, I have used private as access modifier. Let us discuss it.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Properties and methods can have access modifiers which control where they can be accessed. There are three access modifiers: <\/p>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li><strong>public<\/strong> \u2013 The property or method can be accessed from everywhere. This is default<\/li>\n\n\n\n<li><strong>protected<\/strong> \u2013 The property or method can be accessed within the class and by classes derived from that class<\/li>\n\n\n\n<li><strong>private\u00a0\u2013 <\/strong>The property or method can only be accessed within the class<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">These are also called Visibility of a class members. Let us take an example to understand this visibility.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Student\n{\n\tpublic $nm=\"Swati\";\n\tprivate $age=18;\n\tprotected $marks=90;\n}\n$s1=new Student();\necho \"Name = \".$s1-&gt;nm.\"&lt;br&gt;\";\necho \"Age = \".$s1-&gt;age.\"&lt;br&gt;\";\necho \"Marks = \".$s1-&gt;marks.\"&lt;br&gt;\";\n?&gt;\n\nOutput\nName = Swati\nFatal error: Uncaught Error: Cannot access private property Student::$age\nFatal error: Uncaught Error: Cannot access private property Student::$marks<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In above example, $nm is accessed outside the class as it is public property, whereas $age can not be accessed outside the class as $age is a private property which can only be accessed or used inside the class and  $marks is a protected property so it can be used in class itself and in derived class.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">If we use these private and protected properties in the class, it will work. Let us check it in below example.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Student\n{\n\tpublic $nm=\"Swati\";\n\tprivate $age=18;\n\tprotected $marks=90;\n\t\n\tfunction display()\n\t{\n\t\techo \"Name = \".$this-&gt;nm.\"&lt;br&gt;\";\n\t\techo \"Age = \".$this-&gt;age.\"&lt;br&gt;\";\n\t\techo \"Marks = \".$this-&gt;marks.\"&lt;br&gt;\";\t\n\t}\n}\n$s1=new Student();\n$s1-&gt;display();\n?&gt;\n\nOutput\nName = Swati\nAge = 18\nMarks = 90<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"this_Keyword\"><\/span>$this Keyword<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">The <strong><em>$this<\/em><\/strong> keyword refers to the current object, and is only available inside methods.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Constructor_function\"><\/span>Constructor function<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">Constructor function is a special function that are called automatically when an object is created. In PHP, <strong>__construct()<\/strong> (two underscores) is used to define a constructor. Let us take an above example modified using constructor function.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example : <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Keyboard\n{\n      private $brandname;\n      private $price;\n\t  \n      \/\/constructor\n      function __construct($brandname,$price)\n      {\n           $this-&gt;brandname = $brandname;\n           $this-&gt;price = $price;\n      }\n      function get_brandname()\n      {\n           return ($this-&gt;brandname);\n      }\n      function get_price()\n      {\n           return ($this-&gt;price);\n      }\n}\n\/\/object 1\n$logitech=new Keyboard(\"Logitech\",1000);\necho \"Brandname is \".$logitech-&gt;get_brandname().\"&lt;br&gt;\";\necho \"Price is \".$logitech-&gt;get_price().\"&lt;hr&gt;\";\n\n\/\/object 2\n$tvs=new Keyboard(\"TVS\",2000);\necho \"Brandname is \".$tvs-&gt;get_brandname().\"&lt;br&gt;\";\necho \"Price is \".$tvs-&gt;get_price().\"&lt;br&gt;\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">The example above demonstrates how calling the set_brandname() and set_price() methods are avoided when using a function __construct, which minimizes the amount of code. That means now we don\u2019t need to call set functions separately to set brandname and price.<\/p>\n\n\n\n<p class=\"has-text-align-left has-medium-font-size\">We have created a constructor for <strong>Keyboard<\/strong> class with two member variables ($brandname, $price) and it is initialized brandname and price at the time of object creation only.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Destructor_function\"><\/span>Destructor function<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">Destructor function is a function that calls automatically when an object of the class is destroyed or a script terminates. Destructors are like constructors, except that they are called when the object is deleted. <strong>__destruct()<\/strong> (two underscores) is used to define a destructor.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong> : Here destructor function is called automatically when script ends.<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\nclass Demo \n{\n\t\/\/constructor\n    function __construct() {\n        echo \"Hello, I am a \";\n    }\n\t\/\/destructor\n    function __destruct() {\n        echo  \"Destructor \";\n    }\n}\n$obj = new Demo();\n?&gt;\n\nOutput\nHello, I am a Destructor<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Inheritance\"><\/span>Inheritance<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">Inheritance is the concept of accessing one class from another class. Inheritance is the idea that a class can extend the functionality of another class. The new class will contain all the methods and properties of the class it extends, plus any others it lists within its body. We may also override methods and properties from the extended class. We can extend a class using the <strong>extends<\/strong> keyword.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">If a class extends another class, the properties and methods of all ancestor classes are available in the child class, despite not being declared explicitly. If you wish to access an inherited property, simply refer to it as you would any other local property.<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>class Father\n{\n\tprotected $lname;\n\tfunction set_lname($lname)\n\t{\n\t\t$this-&gt;lname=$lname;\n\t}\n}\nclass Child extends Father\n{\n\tprivate $fname;\n\tfunction set_fname($fname)\n\t{\n\t     $this-&gt;fname=$fname;\n\t}\n\tfunction disp_fullname()\n\t{\n\t     echo \"Hey, This is \".$this-&gt;fname.\" \".$this-&gt;lname;\n\t}\n}\n$c1=new Child();\n$c1-&gt;set_fname(\"Swati\");\n$c1-&gt;set_lname(\"Lathia\");\n$c1-&gt;disp_fullname();<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Scope_Resolution_Operator\"><\/span>Scope Resolution Operator ( : : )<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">The Scope Resolution Operator <strong>: :<\/strong> (double colon) is a token that allows access to\u00a0static, constant and overridden properties or methods of a class.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example <\/strong>: <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\n\/*Scope Resolution Operator for Class(Constant) and Objects(Static)*\/\nclass my_connection \n{\n\tconst USERNAME=\"root\";\n\tconst PASSWORD=\"admin\";\n        const DB_NAME =\"db_demo\";\n}\necho my_connection::USERNAME.\"&lt;br&gt;\";\necho my_connection::PASSWORD.\"&lt;br&gt;\";\necho my_connection::DB_NAME.\"&lt;hr&gt;\";\n\nclass test_static\n{\n\tstatic $name=\"H J DOSHI\";\t\n}\n$obj1=new test_static();\necho \"Name of the College is : \".$obj1::$name.\"&lt;br&gt;\";\n$obj1::$name=\"HJD\";\necho \"Name of the College is : \".$obj1::$name.\"&lt;br&gt;\";\n?&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Autoloading_Class\"><\/span>Autoloading Class<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example <\/strong>: In following example, we have created objects of class a, b and c which are automatically load with spl_autoload_register() and can be accessed their disp() methods. This is auto.php file. <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;?php\n\/\/Autoloading class\nspl_autoload_register(function ($myclass)\n{\n\tinclude $myclass.\".php\";\n});\n$o1 = new a();\/\/calls a class\n$o1-&gt;disp();\n\t\n$o2 = new b();\/\/calls b class\n$o2-&gt;disp();\n\t\n$o3 = new c();\/\/calls c class\n$o3-&gt;disp();\n?&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>\/\/a.php\n&lt;?php\n\tclass a\n\t{\t\n\t\tfunction disp()\n\t\t{\n\t\t\techo \"a.disp() is called\";\n\t\t}\n\t}\n?&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>\/\/b.php\n&lt;?php\n\tclass b\n\t{\t\n\t\tfunction disp()\n\t\t{\n\t\t\techo \"b.disp() is called\";\n\t\t}\n\t}\n?&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>\/\/c.php\n&lt;?php\n\tclass c\n\t{\t\n\t\tfunction disp()\n\t\t{\n\t\t\techo \"c.disp() is called\";\n\t\t}\n\t}\n?&gt;<\/code><\/pre>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Introduction to PHP | How to save PHP file | How to write PHP code PHP Variable &amp; Data Types PHP Operators | Arithmetic Operators PHP Operators | Increment | Decrement | Logical | String | Conditional PHP Operators | Assignment &amp; Comparison (Relational) PHP Conditional &amp; Looping structure | If statement | If ..else [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-2335","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/2335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2335"}],"version-history":[{"count":29,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/2335\/revisions"}],"predecessor-version":[{"id":2751,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/2335\/revisions\/2751"}],"wp:attachment":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}