SlideShare a Scribd company logo
1 of 11
Download to read offline
INTRO TO SERVER-SIDE PROGRAMMING
Friday, September 6, 13
PHP As A Language
PHP can be treated as a distinct language with it’s own rules
It has it’s own vocabulary - words that are familiar to the language
PHP has distinct grammatical rules
Syntax - rules to determine the composition of sentences
Semantics - the meaning and significance of words
Structure - the relationship between words
Friday, September 6, 13
Grammar and Vocaublary
Reserved Words and Keywords: if, else, ifelse; for, foreach,
while, do; and, or, xor; public, private, protected
Expressions: semicolon (;), curly braces ({...})
Arithmetic: addition (+), subtraction (-), multiplication(*)
Comparisons: equality (==), inequalities (!=), ranges (<=)
Special cases: dollar($), braces ([...]), operators (&, |, <<)
User & Built-in Constants: PHP_VERSION, E_ERROR,
E_WARNING, E_NOTICE, MY_CONSTANT
User & Built-in Functions: shuffle(), printf(), strlen()
Friday, September 6, 13
The PHP Manual - http://php.net/manual/en/
In your “assignments” workspace, create a file called “assignment-2.1.md” to
work on your answers to the following questions:
Find at least three different methods to get a random value from an array
with a built-in function (Look in Array Functions)
What does the built-in md5() function do? What is the default return
value? What built-in functions work similarly?
What is another name for “anonymous functions” in PHP and where are
they in the manual? When were they added and what was the last feature
added?
What is the default value of the “memory_limit” setting in PHP? What
value would I set to it in order to allocate ALL memory to PHP? How could I
set that value and where would I find that in the manual?
Friday, September 6, 13
Data Types - Literals
Literals are also known as Primitive Values
Representative of fixed values, such as numbers, text, etc
Four scalar types: boolean, integer float (double) & string
Two compound types: array & object
Three special types: resource, NULL & callable
What makes 1 different from 1.0?
Friday, September 6, 13
Working With Variables
Variables are storage locations with identifiers that contain values
Variables are places to store your literals. Think of a bucket.
$a_variable // This is a bucket to hold literals!
$a_variable = “some value” // Now the bucket has stuff in it
$a_variable = “something else” // The bucket remains, but a
new string is put in it
Variables in PHP are always preceded with a dollar sign ($)
Variables are not very useful empty, so they are usually followed
with an assignment operator
Friday, September 6, 13
Assignment Operators
An operator accepts one or more literals or variables, performs
an operation on them and returns the results, like a calculator.
$total = 1 // total is defined as 1
$total = $total + 1 // total is now 2
$total += 2 // total is now 4 (old total plus 2)
Orders of operation and precedence still apply here!
Friday, September 6, 13
Basic “Phrases”
Variables, basic expressions and comments:
$david = ‘awesome’; // not entirely true
Basic assignment and arithmetic operators:
$counter = 1; $counter = 2;
$counter = 1 + 1;
$counter += 2;
Getting feedback from PHP:
echo $counter;
var_dump($counter); var_export($counter);
Friday, September 6, 13
ASSIGNMENT TWO
Friday, September 6, 13
Pulling Files From Git
Open your “assignments” workspace in Cloud9
In the console, type “git remote -v” to see the repository URL for
the remote named “origin”
Connect the “assignments” repository from the class to yours:
Go to https://github.com/vcc-dig1108/assignments
Copy the repo URL to your clipboard
In the Cloud9 console, type “git remote add upstream “ (with the space at
the end) and paste the URL that you copied
Now “git remote -v” should list “origin” and “upstream”
Friday, September 6, 13
Pulling Files From Git (cont)
To get the updated code from remote use “git fetch” (try with -h)
Use “git merge” to roll that update into your local branch
You should now have the updated file “homework-2.1.md”
All instructions are in the assignment:
Open the project that you forked earlier or fork one now
Grab around 50 lines of PHP from that project that show examples of
literals, variables, function calls and other colored (important) things
If there is something that you don’t recognize, note it for later
The goal is to practice “reading” PHP grammar for now
Friday, September 6, 13

More Related Content

What's hot

What's hot (20)

Intermediate PHP
Intermediate PHPIntermediate PHP
Intermediate PHP
 
Dev traning 2016 basics of PHP
Dev traning 2016   basics of PHPDev traning 2016   basics of PHP
Dev traning 2016 basics of PHP
 
Data types in php
Data types in phpData types in php
Data types in php
 
Operators in PHP
Operators in PHPOperators in PHP
Operators in PHP
 
PHP Powerpoint -- Teach PHP with this
PHP Powerpoint -- Teach PHP with thisPHP Powerpoint -- Teach PHP with this
PHP Powerpoint -- Teach PHP with this
 
Introduction to php php++
Introduction to php php++Introduction to php php++
Introduction to php php++
 
Php Tutorials for Beginners
Php Tutorials for BeginnersPhp Tutorials for Beginners
Php Tutorials for Beginners
 
Learn PHP Basics
Learn PHP Basics Learn PHP Basics
Learn PHP Basics
 
Php
PhpPhp
Php
 
PHP variables
PHP  variablesPHP  variables
PHP variables
 
Operators php
Operators phpOperators php
Operators php
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
slidesharenew1
slidesharenew1slidesharenew1
slidesharenew1
 
Subroutines in perl
Subroutines in perlSubroutines in perl
Subroutines in perl
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Class 2 - Introduction to PHP
Class 2 - Introduction to PHPClass 2 - Introduction to PHP
Class 2 - Introduction to PHP
 
Php using variables-operators
Php using variables-operatorsPhp using variables-operators
Php using variables-operators
 
PHP
PHPPHP
PHP
 
testing add
testing addtesting add
testing add
 
03phpbldgblock
03phpbldgblock03phpbldgblock
03phpbldgblock
 

Viewers also liked

New Beginnings Program Shell
New Beginnings Program ShellNew Beginnings Program Shell
New Beginnings Program Shelljeanette_ep
 
Cara merawat rangka
Cara merawat rangkaCara merawat rangka
Cara merawat rangkaokejelly
 
Innovative performance support
Innovative performance supportInnovative performance support
Innovative performance supportJacopo Nicelli
 
Managed Data Services
Managed Data ServicesManaged Data Services
Managed Data Servicesgregc65x
 
RevoOFIndustry
RevoOFIndustryRevoOFIndustry
RevoOFIndustrythumore88
 

Viewers also liked (7)

New Beginnings Program Shell
New Beginnings Program ShellNew Beginnings Program Shell
New Beginnings Program Shell
 
Cara merawat rangka
Cara merawat rangkaCara merawat rangka
Cara merawat rangka
 
Innovative performance support
Innovative performance supportInnovative performance support
Innovative performance support
 
Presentation14
Presentation14Presentation14
Presentation14
 
Practica de hadward
Practica de hadwardPractica de hadward
Practica de hadward
 
Managed Data Services
Managed Data ServicesManaged Data Services
Managed Data Services
 
RevoOFIndustry
RevoOFIndustryRevoOFIndustry
RevoOFIndustry
 

Similar to Dig1108C Lesson 2

Similar to Dig1108C Lesson 2 (20)

Training on php by cyber security infotech (csi)
Training on  php by cyber security infotech (csi)Training on  php by cyber security infotech (csi)
Training on php by cyber security infotech (csi)
 
Php mysql
Php mysqlPhp mysql
Php mysql
 
Php
PhpPhp
Php
 
Advanced Perl Techniques
Advanced Perl TechniquesAdvanced Perl Techniques
Advanced Perl Techniques
 
What's new, what's hot in PHP 5.3
What's new, what's hot in PHP 5.3What's new, what's hot in PHP 5.3
What's new, what's hot in PHP 5.3
 
WT_PHP_PART1.pdf
WT_PHP_PART1.pdfWT_PHP_PART1.pdf
WT_PHP_PART1.pdf
 
Introduction to php basics
Introduction to php   basicsIntroduction to php   basics
Introduction to php basics
 
PHP Workshop Notes
PHP Workshop NotesPHP Workshop Notes
PHP Workshop Notes
 
Was können wir von Rebol lernen?
Was können wir von Rebol lernen?Was können wir von Rebol lernen?
Was können wir von Rebol lernen?
 
Introduction to Modern Perl
Introduction to Modern PerlIntroduction to Modern Perl
Introduction to Modern Perl
 
Intro to PHP
Intro to PHPIntro to PHP
Intro to PHP
 
PHP Basics Ebook
PHP Basics EbookPHP Basics Ebook
PHP Basics Ebook
 
phptutorial
phptutorialphptutorial
phptutorial
 
phptutorial
phptutorialphptutorial
phptutorial
 
Php introduction
Php introductionPhp introduction
Php introduction
 
PHP: The easiest language to learn.
PHP: The easiest language to learn.PHP: The easiest language to learn.
PHP: The easiest language to learn.
 
Chap1introppt2php(finally done)
Chap1introppt2php(finally done)Chap1introppt2php(finally done)
Chap1introppt2php(finally done)
 
FYBSC IT Web Programming Unit IV PHP and MySQL
FYBSC IT Web Programming Unit IV  PHP and MySQLFYBSC IT Web Programming Unit IV  PHP and MySQL
FYBSC IT Web Programming Unit IV PHP and MySQL
 
05php
05php05php
05php
 
php fundamental
php fundamentalphp fundamental
php fundamental
 

More from vc-dig1108-fall-2013 (7)

DIG1108 Lesson 8
DIG1108 Lesson 8DIG1108 Lesson 8
DIG1108 Lesson 8
 
DIG1108 Lesson 7
DIG1108 Lesson 7DIG1108 Lesson 7
DIG1108 Lesson 7
 
DIG1108 Lesson 6
DIG1108 Lesson 6DIG1108 Lesson 6
DIG1108 Lesson 6
 
DIG1108 Lesson 5
DIG1108 Lesson 5DIG1108 Lesson 5
DIG1108 Lesson 5
 
DIG1108 Lesson 4
DIG1108 Lesson 4DIG1108 Lesson 4
DIG1108 Lesson 4
 
Dig1108 Lesson 3
Dig1108 Lesson 3Dig1108 Lesson 3
Dig1108 Lesson 3
 
Dig1108 c lesson1
Dig1108 c lesson1Dig1108 c lesson1
Dig1108 c lesson1
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Dig1108C Lesson 2

  • 1. INTRO TO SERVER-SIDE PROGRAMMING Friday, September 6, 13
  • 2. PHP As A Language PHP can be treated as a distinct language with it’s own rules It has it’s own vocabulary - words that are familiar to the language PHP has distinct grammatical rules Syntax - rules to determine the composition of sentences Semantics - the meaning and significance of words Structure - the relationship between words Friday, September 6, 13
  • 3. Grammar and Vocaublary Reserved Words and Keywords: if, else, ifelse; for, foreach, while, do; and, or, xor; public, private, protected Expressions: semicolon (;), curly braces ({...}) Arithmetic: addition (+), subtraction (-), multiplication(*) Comparisons: equality (==), inequalities (!=), ranges (<=) Special cases: dollar($), braces ([...]), operators (&, |, <<) User & Built-in Constants: PHP_VERSION, E_ERROR, E_WARNING, E_NOTICE, MY_CONSTANT User & Built-in Functions: shuffle(), printf(), strlen() Friday, September 6, 13
  • 4. The PHP Manual - http://php.net/manual/en/ In your “assignments” workspace, create a file called “assignment-2.1.md” to work on your answers to the following questions: Find at least three different methods to get a random value from an array with a built-in function (Look in Array Functions) What does the built-in md5() function do? What is the default return value? What built-in functions work similarly? What is another name for “anonymous functions” in PHP and where are they in the manual? When were they added and what was the last feature added? What is the default value of the “memory_limit” setting in PHP? What value would I set to it in order to allocate ALL memory to PHP? How could I set that value and where would I find that in the manual? Friday, September 6, 13
  • 5. Data Types - Literals Literals are also known as Primitive Values Representative of fixed values, such as numbers, text, etc Four scalar types: boolean, integer float (double) & string Two compound types: array & object Three special types: resource, NULL & callable What makes 1 different from 1.0? Friday, September 6, 13
  • 6. Working With Variables Variables are storage locations with identifiers that contain values Variables are places to store your literals. Think of a bucket. $a_variable // This is a bucket to hold literals! $a_variable = “some value” // Now the bucket has stuff in it $a_variable = “something else” // The bucket remains, but a new string is put in it Variables in PHP are always preceded with a dollar sign ($) Variables are not very useful empty, so they are usually followed with an assignment operator Friday, September 6, 13
  • 7. Assignment Operators An operator accepts one or more literals or variables, performs an operation on them and returns the results, like a calculator. $total = 1 // total is defined as 1 $total = $total + 1 // total is now 2 $total += 2 // total is now 4 (old total plus 2) Orders of operation and precedence still apply here! Friday, September 6, 13
  • 8. Basic “Phrases” Variables, basic expressions and comments: $david = ‘awesome’; // not entirely true Basic assignment and arithmetic operators: $counter = 1; $counter = 2; $counter = 1 + 1; $counter += 2; Getting feedback from PHP: echo $counter; var_dump($counter); var_export($counter); Friday, September 6, 13
  • 10. Pulling Files From Git Open your “assignments” workspace in Cloud9 In the console, type “git remote -v” to see the repository URL for the remote named “origin” Connect the “assignments” repository from the class to yours: Go to https://github.com/vcc-dig1108/assignments Copy the repo URL to your clipboard In the Cloud9 console, type “git remote add upstream “ (with the space at the end) and paste the URL that you copied Now “git remote -v” should list “origin” and “upstream” Friday, September 6, 13
  • 11. Pulling Files From Git (cont) To get the updated code from remote use “git fetch” (try with -h) Use “git merge” to roll that update into your local branch You should now have the updated file “homework-2.1.md” All instructions are in the assignment: Open the project that you forked earlier or fork one now Grab around 50 lines of PHP from that project that show examples of literals, variables, function calls and other colored (important) things If there is something that you don’t recognize, note it for later The goal is to practice “reading” PHP grammar for now Friday, September 6, 13