Skip to content

Commit 76add6b

Browse files
author
Sabbir Ahmed
authored
Merge pull request #714 from tarikmanoar/develop
Added PHP basic syntax
2 parents b881890 + 3cdaa38 commit 76add6b

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

data/php-cheat-sheet.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@
55
"description": "পিএইচপি হচ্ছে একটি সার্ভার সাইড স্ক্রিপ্টিং ল্যাঙ্গুয়েজ, যা তৈরী করেন রাসমাস লারডোর্ফ ১৯৯৪ সালে। যা বিশেষ করে যে কোনো ডাইনামিক এবং ইন্টারেক্টিভ ওয়েব ডেভেলপমেন্ট অথবা ওয়েব ভিত্তিক সফটওয়্যার তৈরিতে ব্যবহৃত হয়",
66
"colorPref": "#8892BF",
77
"contents": [{
8+
"title": "পিএইচপি ব্যাসিক",
9+
"items": [{
10+
"definition": "পিএইচপি শুরু করতে",
11+
"code": "<?php // place PHP code here ?>"
12+
},
13+
{
14+
"definition": "কমেন্ট করার জন্য",
15+
"code": "// or # or /*...*/"
16+
},
17+
{
18+
"definition": "ফাংশন লিখতে",
19+
"code": "function NameOfTheFunction() { //place PHP code here }"
20+
},
21+
{
22+
"definition": "ভ্যারিএবল তৈরি করতে",
23+
"code": "$variableName = 'value';"
24+
},
25+
{
26+
"definition": "কন্সট্যান্ট তৈরি করতে",
27+
"code": "define('CONSTANT_NAME', 'value');"
28+
},
29+
{
30+
"definition": "কন্ডিশন লিখতে",
31+
"code": "if (condition) { //place PHP code here }"
32+
},
33+
{
34+
"definition": "লুপ লিখতে",
35+
"code": "for (initialization; condition; increment) { //place PHP code here }"
36+
},
37+
{
38+
"definition": "অ্যারে লিখতে",
39+
"code": "$arrayName = array('value1', 'value2', 'value3');"
40+
},
41+
{
42+
"definition": "অ্যারে এক্সেস করতে",
43+
"code": "$arrayName[0];"
44+
},
45+
{
46+
"definition": "অ্যারের সাইজ বের করতে",
47+
"code": "count($arrayName);"
48+
}
49+
]
50+
}, {
851
"title": "গাণিতিক অপারেশন",
952
"items": [{
1053
"definition": "সাধারন গাণিতিক অপারেশন",

0 commit comments

Comments
 (0)