3v4l.org

run code in 300+ PHP versions simultaneously
<?php // header('Content-Type: text/plain'); //charset=utf-8" require_once ('jpgraph/src/jpgraph.php'); require_once ('jpgraph/src/jpgraph_line.php'); // Some data $ydata = array(11,3,8,12,5,1,9,13,5,7); // Create the graph. These two calls are always required $graph = new Graph(350,250); $graph->SetScale('textlin'); // Create the linear plot $lineplot=new LinePlot($ydata); $lineplot->SetColor('blue'); // Add the plot to the graph $graph->Add($lineplot); // Display the graph $graph->Stroke(); ?>

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.60.0110.00718.66
8.3.50.0050.01021.97
8.3.40.0150.00019.02
8.3.30.0110.00418.88
8.3.20.0040.00420.33
8.3.10.0050.00323.66
8.3.00.0000.00919.38
8.2.180.0060.00916.47
8.2.170.0080.01122.96
8.2.160.0030.01019.47
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0060.00317.63
8.2.120.0040.00426.35
8.2.110.0070.00421.10
8.2.100.0070.00417.93
8.2.90.0080.00019.00
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0050.00318.04
8.2.50.0000.00818.07
8.2.40.0080.00019.52
8.2.30.0040.00420.51
8.2.20.0030.00617.73
8.2.10.0080.00018.07
8.2.00.0040.00418.13
8.1.280.0100.00725.92
8.1.270.0030.00523.87
8.1.260.0050.00328.09
8.1.250.0060.00328.09
8.1.240.0040.00820.93
8.1.230.0070.00719.44
8.1.220.0000.01017.75
8.1.210.0000.00918.77
8.1.200.0000.00917.23
8.1.190.0060.00317.22
8.1.180.0030.00518.10
8.1.170.0040.00418.52
8.1.160.0000.00721.93
8.1.150.0040.00418.82
8.1.140.0040.00419.52
8.1.130.0000.00717.60
8.1.120.0000.00817.43
8.1.110.0000.00717.26
8.1.100.0050.00317.27
8.1.90.0080.00017.36
8.1.80.0080.00017.38
8.1.70.0050.00317.28
8.1.60.0000.00917.57
8.1.50.0090.00017.48
8.1.40.0000.00817.46
8.1.30.0060.00317.65
8.1.20.0040.00417.68
8.1.10.0070.00517.46
8.1.00.0040.00417.48
8.0.300.0020.00518.77
8.0.290.0000.00716.88
8.0.280.0040.00418.57
8.0.270.0000.00817.41
8.0.260.0000.00917.36
8.0.250.0030.00317.11
8.0.240.0000.00717.02
8.0.230.0030.00717.09
8.0.220.0040.00417.02
8.0.210.0030.00316.94
8.0.200.0030.00316.96
8.0.190.0030.00617.16
8.0.180.0000.00816.94
8.0.170.0000.00817.08
8.0.160.0000.00816.96
8.0.150.0060.00316.94
8.0.140.0080.00017.04
8.0.130.0030.00313.38
8.0.120.0030.00516.97
8.0.110.0040.00416.87
8.0.100.0040.00417.05
8.0.90.0000.00717.00
8.0.80.0120.00917.08
8.0.70.0060.00317.06
8.0.60.0060.00316.90
8.0.50.0000.00716.95
8.0.30.0050.01017.18
8.0.20.0130.00717.40
8.0.10.0040.00416.92
8.0.00.0160.00816.82
7.4.330.0070.00015.08
7.4.320.0030.00316.57
7.4.300.0000.00716.58
7.4.290.0070.00016.61
7.4.280.0040.00416.64
7.4.270.0030.00316.66
7.4.260.0030.00316.35
7.4.250.0040.00416.57
7.4.240.0040.00416.51
7.4.230.0000.00816.37
7.4.220.0110.00716.54
7.4.210.0090.00916.57
7.4.200.0000.00816.61
7.4.160.0110.01116.54
7.4.150.0110.01117.40
7.4.140.0100.01017.86
7.4.130.0110.00616.57
7.4.120.0110.00916.42
7.4.110.0110.00716.30
7.4.100.0070.01116.47
7.4.90.0090.00916.43
7.4.80.0060.01019.39
7.4.70.0090.00916.31
7.4.60.0080.00916.53
7.4.50.0070.01016.32
7.4.40.0060.01216.71
7.4.30.0080.00816.32
7.4.00.0100.00714.83
7.3.330.0030.00313.02
7.3.320.0000.00513.18
7.3.310.0020.00516.21
7.3.300.0000.00716.21
7.3.290.0070.00916.30
7.3.280.0100.00916.28
7.3.270.0140.00317.40
7.3.260.0150.00316.28
7.3.250.0110.00616.35
7.3.240.0150.00516.51
7.3.230.0070.01116.39
7.3.210.0030.01316.31
7.3.200.0030.02016.45
7.3.190.0060.01216.55
7.3.180.0030.01316.40
7.3.170.0080.00816.34
7.3.160.0080.00816.38
7.2.330.0090.01216.37
7.2.320.0180.00316.55
7.2.310.0150.00416.54
7.2.300.0120.00616.36
7.2.290.0100.00716.55
7.2.00.0000.01119.11
7.1.100.0040.01117.62
7.1.70.0000.00717.18
7.1.60.0030.02019.12
7.1.50.0040.01816.87
7.1.00.0130.06322.25
7.0.200.0000.00916.48
7.0.60.0170.06719.80
7.0.50.0000.08317.88
7.0.40.0030.04720.05
7.0.30.0400.05320.00
7.0.20.0270.07720.17
7.0.10.0100.07720.19
7.0.00.0030.04720.09
5.6.280.0030.05020.99
5.6.210.0100.08020.72
5.6.200.0070.08318.12
5.6.190.0030.04720.61
5.6.180.0270.04020.46
5.6.170.0330.06020.42
5.6.160.0000.04720.47
5.6.150.0100.05018.17
5.6.140.0030.06018.17
5.6.130.0170.03318.12
5.6.120.0070.09321.14
5.6.110.0130.06321.13
5.6.100.0070.07321.02
5.6.90.0100.07021.12
5.6.80.0100.07720.53
5.5.350.4100.03720.40
5.5.340.0030.04017.96
5.5.330.0100.08320.21
5.5.320.0000.04320.13
5.5.310.0170.06720.27
5.5.300.0100.08018.04
5.5.290.0070.07017.95
5.5.280.0070.08320.77
5.5.270.0030.05020.72
5.5.260.0100.09020.75
5.5.250.0030.06720.70
5.5.240.0330.07020.06

preferences:
43.16 ms | 401 KiB | 5 Q