3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Travis'; //you could assign a vairable with double qoutes also echo "hi there, $name, '!'";/*using single qoutes would have printed the variable as is, using double howver is said to process slower*/ //ex. echo 'hi there, $name'; would have printed '$name', instead of the intended value echo 'hello, ', $name, "!";//a way to include a variable within a single quote. ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0110.00418.71
8.3.30.0130.00320.23
8.3.20.0090.00920.18
8.3.10.0100.00320.95
8.3.00.0030.00622.43
8.2.170.0140.00322.96
8.2.160.0160.00321.98
8.2.150.0090.00624.18
8.2.140.0150.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00820.79
8.2.110.0090.00021.02
8.2.100.0070.00617.91
8.2.90.0040.00418.22
8.2.80.0030.00617.97
8.2.70.0050.00317.80
8.2.60.0000.00717.93
8.2.50.0000.00818.10
8.2.40.0040.00420.57
8.2.30.0000.00919.35
8.2.20.0040.00417.71
8.2.10.0080.00017.68
8.2.00.0080.00017.68
8.1.270.0050.00323.99
8.1.260.0070.00726.35
8.1.250.0050.00328.09
8.1.240.0060.00323.77
8.1.230.0080.00320.98
8.1.220.0050.00317.74
8.1.210.0040.00419.04
8.1.200.0000.00817.35
8.1.190.0060.00317.00
8.1.180.0050.00318.10
8.1.170.0080.00018.51
8.1.160.0040.00418.82
8.1.150.0030.00518.54
8.1.140.0000.00717.26
8.1.130.0030.00317.74
8.1.120.0000.00817.35
8.1.110.0000.00717.38
8.1.100.0000.00717.29
8.1.90.0000.00717.30
8.1.80.0000.00717.32
8.1.70.0040.00417.30
8.1.60.0040.00817.51
8.1.50.0000.00717.46
8.1.40.0040.00417.45
8.1.30.0050.00317.54
8.1.20.0000.00817.54
8.1.10.0000.00917.48
8.1.00.0080.00017.34
8.0.300.0000.00719.91
8.0.290.0000.00716.75
8.0.280.0030.00318.45
8.0.270.0030.00317.11
8.0.260.0040.00716.86
8.0.250.0040.00416.89
8.0.240.0000.00716.92
8.0.230.0050.00216.94
8.0.220.0040.00416.96
8.0.210.0000.00716.85
8.0.200.0030.00316.94
8.0.190.0040.00417.02
8.0.180.0000.00716.89
8.0.170.0050.00316.88
8.0.160.0070.00016.71
8.0.150.0000.00716.88
8.0.140.0000.00716.80
8.0.130.0000.00713.29
8.0.120.0000.00716.75
8.0.110.0040.00416.75
8.0.100.0000.00716.87
8.0.90.0040.00416.76
8.0.80.0100.01016.85
8.0.70.0000.00716.71
8.0.60.0060.00316.70
8.0.50.0040.00416.70
8.0.30.0160.00916.88
8.0.20.0020.01717.40
8.0.10.0040.00417.01
8.0.00.0140.00516.58
7.4.330.0050.00016.73
7.4.320.0060.00016.46
7.4.300.0030.00316.54
7.4.290.0000.00616.58
7.4.280.0070.00216.49
7.4.270.0030.00316.40
7.4.260.0030.00313.17
7.4.250.0030.00516.51
7.4.240.0040.00316.55
7.4.230.0000.00716.51
7.4.220.0090.01216.48
7.4.210.0070.00816.57
7.4.200.0030.00316.54
7.4.190.0000.00716.48
7.4.160.0110.00516.55
7.4.150.0170.00017.40
7.4.140.0120.00517.86
7.4.130.0070.01016.46
7.4.120.0050.01116.42
7.4.110.0120.00916.53
7.4.100.0060.01216.38
7.4.90.0120.00616.48
7.4.80.0120.00919.39
7.4.70.0060.01016.40
7.4.60.0030.01416.52
7.4.50.0000.00416.29
7.4.40.0060.00922.77
7.4.30.0100.00616.38
7.4.00.0090.00714.57
7.3.330.0030.00213.00
7.3.320.0000.00513.10
7.3.310.0030.00316.27
7.3.300.0000.00716.24
7.3.290.0160.01016.27
7.3.280.0110.00316.32
7.3.270.0070.01017.40
7.3.260.0090.00918.24
7.3.250.0090.00916.48
7.3.240.0100.00616.46
7.3.230.0090.00916.53
7.3.210.0100.00716.41
7.3.200.0090.01519.39
7.3.190.0030.01316.37
7.3.180.0100.01016.27
7.3.170.0100.00716.61
7.3.160.0100.01016.26
7.3.120.0050.00914.55
7.3.110.0030.01614.95
7.3.100.0090.00914.74
7.3.90.0030.00714.52
7.3.80.0040.00814.70
7.3.70.0080.00814.94
7.3.60.0070.01014.76
7.3.50.0060.00614.73
7.3.40.0030.00914.81
7.3.30.0070.00714.77
7.3.20.0030.01216.69
7.3.10.0080.00416.63
7.3.00.0060.00616.67
7.2.330.0080.00916.41
7.2.320.0150.00616.35
7.2.310.0080.00816.32
7.2.300.0030.01216.53
7.2.290.0070.01016.48
7.2.250.0070.00715.10
7.2.240.0070.01115.13
7.2.230.0070.01114.80
7.2.220.0070.01015.04
7.2.210.0060.01014.57
7.2.200.0080.00814.79
7.2.190.0100.00014.76
7.2.180.0000.01314.91
7.2.170.0060.00615.02
7.2.160.0030.01314.61
7.2.150.0030.01216.66
7.2.140.0040.01216.82
7.2.130.0110.00416.53
7.2.120.0060.00616.63
7.2.110.0090.00616.76
7.2.100.0030.00616.56
7.2.90.0000.01316.86
7.2.80.0000.01016.72
7.2.70.0030.01016.53
7.2.60.0070.01316.79
7.2.50.0030.00716.82
7.2.40.0030.01416.89
7.2.30.0110.00016.78
7.2.20.0030.00616.90
7.2.10.0090.00616.86
7.2.00.0100.00818.19
7.1.330.0030.01615.73
7.1.320.0040.01115.70
7.1.310.0060.00315.75
7.1.300.0040.00815.67
7.1.290.0090.00315.91
7.1.280.0050.00515.50
7.1.270.0070.00715.57
7.1.260.0000.01215.41
7.1.250.0040.00815.68
7.1.240.0040.00415.69
7.1.230.0060.00315.61
7.1.220.0060.00615.61
7.1.210.0070.00715.74
7.1.200.0040.00615.47
7.1.190.0090.00915.54
7.1.180.0000.01415.74
7.1.170.0030.01015.70
7.1.160.0060.00615.77
7.1.150.0070.00715.36
7.1.140.0000.01215.42
7.1.130.0080.00415.41
7.1.120.0030.01015.77
7.1.110.0040.00715.46
7.1.100.0160.00816.62
7.1.90.0060.00315.68
7.1.80.0000.01315.37
7.1.70.0040.00616.46
7.1.60.0080.01217.54
7.1.50.0100.00816.25
7.1.40.0030.01315.73
7.1.30.0070.00715.69
7.1.20.0030.00715.81
7.1.10.0000.01215.64
7.1.00.0060.01818.87
7.0.330.0080.00415.00
7.0.320.0060.00615.48
7.0.310.0060.00915.27
7.0.300.0040.00815.33
7.0.290.0000.01215.45
7.0.280.0080.00515.44
7.0.270.0000.00915.42
7.0.260.0080.00015.45
7.0.250.0080.00315.30
7.0.240.0100.00715.05
7.0.230.0090.00315.23
7.0.220.0130.00015.23
7.0.210.0030.01315.32
7.0.200.0020.00915.94
7.0.190.0040.01115.57
7.0.180.0090.00615.45
7.0.170.0030.01015.42
7.0.160.0040.00815.38
7.0.150.0090.00615.41
7.0.140.0050.03918.66
7.0.130.0000.00915.33
7.0.120.0060.00715.13
7.0.110.0030.01315.14
7.0.100.0050.04418.64
7.0.90.0030.04618.61
7.0.80.0020.02818.46
7.0.70.0030.04318.52
7.0.60.0070.03218.63
7.0.50.0000.05118.83
7.0.40.0090.02916.79
7.0.30.0030.04416.69
7.0.20.0030.04516.80
7.0.10.0060.02216.69
7.0.00.0030.02916.75
5.6.400.0070.00714.23
5.6.390.0060.00914.41
5.6.380.0070.00714.18
5.6.370.0040.01114.56
5.6.360.0030.00713.95
5.6.350.0000.01214.48
5.6.340.0000.00914.40
5.6.330.0060.00314.07
5.6.320.0070.01014.50
5.6.310.0000.01414.21
5.6.300.0030.01314.19
5.6.290.0030.01214.06
5.6.280.0050.04017.59
5.6.270.0040.01414.25
5.6.260.0070.00814.37
5.6.250.0140.03517.54
5.6.240.0070.04217.49
5.6.230.0030.03317.43
5.6.220.0030.02517.61
5.6.210.0050.04517.47
5.6.200.0070.04517.50
5.6.190.0070.03717.77
5.6.180.0080.04017.69
5.6.170.0070.03717.61
5.6.160.0070.02217.70
5.6.150.0080.04217.54
5.6.140.0050.04017.70
5.6.130.0050.04717.54
5.6.120.0120.04217.74
5.6.110.0060.04317.82
5.6.100.0040.04717.49
5.6.90.0040.04417.57
5.6.80.0000.03117.40
5.6.70.0080.04117.40
5.6.60.0080.03817.29
5.6.50.0050.04417.30
5.6.40.0050.02517.41
5.6.30.0050.04117.32
5.6.20.0050.03617.25
5.6.10.0080.02517.27
5.6.00.0070.04117.22
5.5.380.0080.03317.24
5.5.370.0080.04117.32
5.5.360.0070.04517.22
5.5.350.0080.04317.24
5.5.340.0020.03517.35
5.5.330.0030.04317.52
5.5.320.0020.03517.50
5.5.310.0030.04317.47
5.5.300.0060.04317.58
5.5.290.0040.04417.64
5.5.280.0050.04517.54
5.5.270.0120.03517.58
5.5.260.0070.04317.30
5.5.250.0000.04717.40
5.5.240.0060.04317.11
5.5.230.0060.04517.12
5.5.220.0050.04317.07
5.5.210.0040.04117.14
5.5.200.0080.04217.08
5.5.190.0040.04417.26
5.5.180.0090.04317.15
5.5.170.0060.00914.20
5.5.160.0030.04516.97
5.5.150.0070.02517.08
5.5.140.0090.03717.11
5.5.130.0060.02517.20
5.5.120.0000.04817.06
5.5.110.0030.02816.96
5.5.100.0060.03817.18
5.5.90.0070.04017.19
5.5.80.0080.03817.14
5.5.70.0050.04316.91
5.5.60.0050.04317.04
5.5.50.0050.03917.02
5.5.40.0070.03516.96
5.5.30.0020.04516.98
5.5.20.0030.03917.00
5.5.10.0040.04217.23
5.5.00.0030.04217.00
5.4.450.0060.04015.82
5.4.440.0050.04315.79
5.4.430.0080.04015.83
5.4.420.0050.04415.79
5.4.410.0020.04115.64
5.4.400.0050.04015.76
5.4.390.0070.04215.66
5.4.380.0020.04015.59
5.4.370.0030.04015.66
5.4.360.0030.04215.65
5.4.350.0020.03915.60
5.4.340.0000.04615.54
5.4.330.0030.00712.28
5.4.320.0050.04015.64
5.4.310.0040.03715.71
5.4.300.0020.03515.70
5.4.290.0050.01815.65
5.4.280.0050.04215.53
5.4.270.0080.03515.71
5.4.260.0030.04115.61
5.4.250.0080.02015.53
5.4.240.0000.04715.68
5.4.230.0100.03815.59
5.4.220.0070.03815.75
5.4.210.0020.04515.67
5.4.200.0070.03315.72
5.4.190.0050.01915.65
5.4.180.0020.04115.67
5.4.170.0040.04115.70
5.4.160.0020.03615.63
5.4.150.0070.02415.69
5.4.140.0040.03514.15
5.4.130.0050.02714.29
5.4.120.0030.03714.14
5.4.110.0030.04014.35
5.4.100.0050.04114.36
5.4.90.0070.03514.25
5.4.80.0020.03814.25
5.4.70.0000.04114.35
5.4.60.0030.03014.29
5.4.50.0040.04014.34
5.4.40.0040.03814.29
5.4.30.0090.03514.35
5.4.20.0050.03614.34
5.4.10.0030.03614.26
5.4.00.0060.03614.00
5.3.290.0000.04413.40
5.3.280.0030.04113.37
5.3.270.0030.04113.42
5.3.260.0030.03913.36
5.3.250.0000.04413.35
5.3.240.0050.04013.44
5.3.230.0030.02013.36
5.3.220.0000.02513.39
5.3.210.0020.02213.39
5.3.200.0030.03913.40
5.3.190.0020.03813.35
5.3.180.0060.03513.41
5.3.170.0030.04313.39
5.3.160.0020.03813.35
5.3.150.0050.03913.33
5.3.140.0030.04013.37
5.3.130.0070.03213.34
5.3.120.0020.03913.39
5.3.110.0020.04213.39
5.3.100.0030.02513.13
5.3.90.0050.04013.12
5.3.80.0030.04013.15
5.3.70.0010.03513.14
5.3.60.0030.03813.11
5.3.50.0010.03613.08
5.3.40.0070.03513.11
5.3.30.0020.04013.09
5.3.20.0030.03812.97
5.3.10.0050.03212.90
5.3.00.0070.03312.91
5.2.170.0070.06010.99
5.2.160.0070.05311.14
5.2.150.0070.05011.19
5.2.140.0000.06711.10
5.2.130.0000.06011.04
5.2.120.0030.06011.08
5.2.110.0000.05311.09
5.2.100.0030.06010.95
5.2.90.0000.06310.95
5.2.80.0000.06310.93
5.2.70.0030.06010.95
5.2.60.0070.03311.00
5.2.50.0030.06011.07
5.2.40.0030.05010.91
5.2.30.0070.05710.76
5.2.20.0030.05010.91
5.2.10.0030.05710.81
5.2.00.0030.05710.77
5.1.60.0070.0409.98
5.1.50.0030.04710.02
5.1.40.0000.0539.81
5.1.30.0070.05310.36
5.1.20.0030.05710.37
5.1.10.0070.03010.06
5.1.00.0030.0509.94
5.0.50.0000.0438.42
5.0.40.0030.0478.45
5.0.30.0000.0638.42
5.0.20.0030.0308.42
5.0.10.0030.0438.42
5.0.00.0000.0678.42
4.4.90.0070.0308.42
4.4.80.0030.0338.42
4.4.70.0070.0308.42
4.4.60.0000.0338.42
4.4.50.0000.0378.42
4.4.40.0000.0438.42
4.4.30.0000.0378.42
4.4.20.0000.0278.42
4.4.10.0030.0308.42
4.4.00.0000.0478.42
4.3.110.0000.0378.42
4.3.100.0000.0338.42
4.3.90.0000.0378.42
4.3.80.0030.0508.42
4.3.70.0030.0308.42
4.3.60.0030.0308.42
4.3.50.0100.0278.42
4.3.40.0000.0378.42
4.3.30.0000.0378.42
4.3.20.0000.0378.42
4.3.10.0000.0308.42
4.3.00.0000.0378.42

preferences:
48.14 ms | 400 KiB | 5 Q