3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once 'https://rawgit.com/thomasjbradley/signature-to-image/master/signature-to-image.php'; $img = sigJsonToImage(file_get_contents('https://rawgit.com/thomasjbradley/signature-to-image/master/examples/signature-from-json/sig-output.json')); // Save to file //imagepng($img, 'signature.png'); // Output to browser header('Content-Type: image/png'); imagepng($img); // Destroy the image in memory when complete imagedestroy($img);

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.70.0180.00418.68
8.3.60.0040.01118.27
8.3.50.0080.01221.99
8.3.40.0080.00819.09
8.3.30.0070.00719.13
8.3.20.0080.00020.22
8.3.10.0040.00420.16
8.3.00.0040.00422.39
8.2.180.0120.00318.66
8.2.170.0120.00622.96
8.2.160.0140.00320.77
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.01026.16
8.2.120.0000.00817.50
8.2.110.0000.01022.25
8.2.100.0120.00017.84
8.2.90.0050.00319.22
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0040.00418.22
8.2.30.0000.00718.05
8.2.20.0040.00417.73
8.2.10.0040.00417.76
8.2.00.0040.00417.63
8.1.280.0170.00725.92
8.1.270.0110.00322.06
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00619.13
8.1.230.0040.00717.42
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0090.00317.22
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0030.00618.72
8.1.160.0000.00722.09
8.1.150.0050.00318.57
8.1.140.0040.00417.42
8.1.130.0000.00717.81
8.1.120.0040.00417.34
8.1.110.0000.00817.39
8.1.100.0030.00517.36
8.1.90.0040.00417.39
8.1.80.0040.00417.45
8.1.70.0000.00717.25
8.1.60.0050.00617.61
8.1.50.0080.00017.57
8.1.40.0040.00417.57
8.1.30.0000.00817.65
8.1.20.0030.00517.58
8.1.10.0040.00417.54
8.1.00.0050.00317.52
8.0.300.0030.00518.77
8.0.290.0040.00416.88
8.0.280.0070.00018.42
8.0.270.0070.00017.33
8.0.260.0000.00716.85
8.0.250.0000.00717.12
8.0.240.0050.00317.09
8.0.230.0000.00717.04
8.0.220.0070.00016.94
8.0.210.0000.00717.02
8.0.200.0030.00317.13
8.0.190.0040.00417.07
8.0.180.0000.00817.10
8.0.170.0040.00417.08
8.0.160.0070.00016.90
8.0.150.0030.00316.89
8.0.140.0040.00416.91
8.0.130.0000.00613.47
8.0.120.0080.00017.03
8.0.110.0040.00416.89
8.0.100.0000.00717.00
8.0.90.0070.00017.10
8.0.80.0070.01116.94
8.0.70.0070.00016.99
8.0.60.0040.00417.05
8.0.50.0050.00216.86
8.0.30.0120.01117.17
8.0.20.0100.00817.40
8.0.10.0050.00217.07
8.0.00.0080.01216.72
7.4.330.0000.00615.00
7.4.320.0000.00616.51
7.4.300.0070.00016.53
7.4.290.0030.00316.64
7.4.280.0050.00316.57
7.4.270.0070.00016.57
7.4.260.0000.00716.57
7.4.250.0020.00516.50
7.4.240.0070.00016.52
7.4.230.0040.00416.54
7.4.220.0070.01716.57
7.4.210.0100.00716.57
7.4.200.0070.00016.70
7.4.190.0030.00316.78
7.4.160.0120.00616.55
7.4.150.0070.01017.40
7.4.140.0120.00717.86
7.4.130.0090.01116.54
7.4.120.0070.01016.62
7.4.110.0120.00416.40
7.4.100.0090.00916.77
7.4.90.0140.00616.30
7.4.80.0060.01219.39
7.4.70.0030.01316.60
7.4.60.0090.00916.64
7.4.50.0000.00816.37
7.4.40.0070.00722.77
7.4.30.0030.01416.55
7.4.00.0090.00614.92
7.3.330.0050.00013.04
7.3.320.0020.00213.11
7.3.310.0070.00016.24
7.3.300.0060.00016.12
7.3.290.0090.00616.25
7.3.280.0070.01016.28
7.3.270.0120.00617.40
7.3.260.0080.00816.46
7.3.250.0060.01116.34
7.3.240.0060.01216.50
7.3.230.0060.01116.39
7.3.210.0070.01016.47
7.3.200.0090.01219.39
7.3.190.0100.01316.37
7.3.180.0060.01016.20
7.3.170.0090.00716.27
7.3.160.0200.00316.38
7.3.120.0000.01814.63
7.2.330.0140.00416.56
7.2.320.0160.00616.49
7.2.310.0120.00616.34
7.2.300.0030.01316.62
7.2.290.0120.00916.39
7.2.60.0030.01216.78
7.2.00.0180.00319.36
7.1.200.0030.00615.61
7.1.100.0240.01917.86
7.1.70.0040.00417.07
7.1.60.0140.01019.82
7.1.50.0090.01316.78
7.1.00.0070.07322.34
7.0.200.0070.01016.76
7.0.140.0000.07722.18
7.0.60.0070.08319.96
7.0.50.0130.07317.86
7.0.40.0030.05020.21
7.0.30.0330.07720.12
7.0.20.0200.04720.17
7.0.10.0270.06020.13
7.0.00.0130.07020.13
5.6.280.0030.07320.86
5.6.210.0070.07020.75
5.6.200.0030.08318.09
5.6.190.0030.04720.59
5.6.180.3400.03720.57
5.6.170.0330.07720.46
5.6.160.0070.08320.51
5.6.150.0070.05018.20
5.6.140.0100.07718.15
5.6.130.0070.04318.08
5.6.120.0030.04020.98
5.6.110.0170.07021.13
5.6.100.0000.04320.93
5.6.90.0000.05021.07
5.6.80.0030.06720.27
5.6.70.0300.07020.37
5.5.350.0070.07320.41
5.5.340.0070.06017.94
5.5.330.0000.08320.06
5.5.320.0200.03720.27
5.5.310.0230.04320.29
5.5.300.0170.06017.96
5.5.290.0000.04318.02
5.5.280.0270.07020.87
5.5.270.0170.07020.75
5.5.260.0030.07020.66
5.5.250.0100.07020.73
5.5.240.0130.05720.18
5.4.450.0270.05019.55
5.4.440.0330.04719.62
5.4.430.0200.04719.44
5.4.420.0130.07719.52
5.4.410.0100.05719.25
5.4.400.0100.05318.74
5.4.390.0170.04318.75
5.4.380.0270.06318.50
5.4.370.0170.05018.73
5.4.360.0130.05318.59
5.4.350.0070.06318.74
5.4.340.0230.04718.68
5.4.320.0030.04212.47
5.4.310.0070.04212.46
5.4.300.0040.03712.47
5.4.290.0050.03712.47
5.4.280.0070.04012.37
5.4.270.0070.07718.95
5.4.260.0100.06318.79
5.4.250.0170.07019.16
5.4.240.0170.07018.93
5.4.230.0100.05018.98
5.4.220.0170.07018.93
5.4.210.0130.07018.85
5.4.200.0130.05318.76
5.4.190.0100.05018.94
5.4.180.0130.07718.97
5.4.170.0100.06319.07
5.4.160.0230.05718.96
5.4.150.0070.06018.89
5.4.140.0000.08716.34
5.4.130.0100.05716.27
5.4.120.0170.05716.50
5.4.110.0100.05316.61
5.4.100.0100.05016.51
5.4.90.0070.07316.52
5.4.80.0130.06716.59
5.4.70.0130.06716.61
5.4.60.0170.04016.50
5.4.50.0130.05016.47
5.4.40.0030.05716.43
5.4.30.0100.05716.28
5.4.20.0100.05716.53
5.4.10.0270.04716.53
5.4.00.0100.05015.71
5.3.290.0070.03712.80
5.3.280.0170.07014.41
5.3.270.0230.06714.77
5.3.260.0170.05014.68
5.3.250.0030.07714.61
5.3.240.0100.05314.60
5.3.230.0070.07714.55
5.3.220.0130.09314.71
5.3.210.0030.06014.75
5.3.200.0170.05014.73
5.3.190.0100.07014.55
5.3.180.0130.05714.56
5.3.170.0200.05014.63
5.3.160.0200.04014.55
5.3.150.0100.06714.63
5.3.140.0070.06714.72
5.3.130.0100.07014.36
5.3.120.0000.07014.70
5.3.110.0170.06314.71
5.3.100.0130.06714.05
5.3.90.0100.05714.16
5.3.80.0070.05713.83
5.3.70.0070.05014.18
5.3.60.0230.05014.20
5.3.50.0170.05714.12
5.3.40.0000.06013.94
5.3.30.0030.06714.09
5.3.20.0100.06713.62
5.3.10.0130.04313.64
5.3.00.0100.05013.80
5.2.170.0100.05011.38
5.2.160.0000.05011.27
5.2.150.0070.05711.20
5.2.140.0070.04310.95
5.2.130.0170.04711.33
5.2.120.0000.05011.33
5.2.110.0170.04311.23
5.2.100.0070.05311.21
5.2.90.0130.04711.03
5.2.80.0170.05311.07
5.2.70.0200.03311.24
5.2.60.0000.06311.10
5.2.50.0070.05711.25
5.2.40.0000.05711.15
5.2.30.0130.04011.20
5.2.20.0070.04710.95
5.2.10.0070.04311.17
5.2.00.0130.04710.90
5.1.60.0070.04710.19
5.1.50.0000.04010.15
5.1.40.0070.0379.96
5.1.30.0130.04310.49
5.1.20.0130.04710.53
5.1.10.0130.03710.05
5.1.00.0070.04310.16
5.0.50.0070.0378.74
5.0.40.0030.0408.57
5.0.30.0130.0478.45
5.0.20.0100.0308.24
5.0.10.0070.0308.43
5.0.00.0070.0408.04
4.4.90.0000.0237.48
4.4.80.0000.0337.48
4.4.70.0030.0307.48
4.4.60.0000.0307.48
4.4.50.0030.0337.48
4.4.40.0000.0437.48
4.4.30.0030.0337.48
4.4.20.0070.0307.48
4.4.10.0130.0177.48
4.4.00.0030.0337.48
4.3.110.0030.0237.48
4.3.100.0030.0237.48
4.3.90.0030.0307.48
4.3.80.0030.0407.48
4.3.70.0000.0277.48
4.3.60.0000.0237.48
4.3.50.0070.0307.48
4.3.40.0100.0377.48
4.3.30.0000.0307.48
4.3.20.0000.0277.48
4.3.10.0070.0277.48
4.3.00.0030.0237.00

preferences:
47.44 ms | 401 KiB | 5 Q