3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'Hey all, my name is bob and i\'m a simply amazing person. Once upon a time i saved a pack of dolphins after they came across an old navy vessel upon the ocean. Also i really really like candy and ice cream. Hope to see y\'all soon!'; $s = substr($s, 0, 64); echo $s;

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.0170.00318.43
8.3.50.0120.00722.05
8.3.40.0110.00418.76
8.3.30.0030.01618.88
8.3.20.0080.00020.33
8.3.10.0040.00421.92
8.3.00.0040.00422.40
8.2.180.0120.00316.38
8.2.170.0160.00322.96
8.2.160.0100.01020.94
8.2.150.0090.00624.18
8.2.140.0090.00024.66
8.2.130.0000.00826.16
8.2.120.0130.00719.23
8.2.110.0060.00320.34
8.2.100.0040.00817.78
8.2.90.0060.00319.23
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0000.01117.55
8.2.50.0060.00318.07
8.2.40.0000.00718.16
8.2.30.0070.00017.96
8.2.20.0040.00417.57
8.2.10.0040.00419.54
8.2.00.0070.00017.74
8.1.280.0120.00325.92
8.1.270.0040.00421.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.78
8.1.230.0070.00420.91
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0050.00317.39
8.1.180.0020.00518.66
8.1.170.0040.00418.65
8.1.160.0040.00421.99
8.1.150.0000.00718.48
8.1.140.0050.00217.32
8.1.130.0000.00717.84
8.1.120.0030.00317.33
8.1.110.0000.00717.35
8.1.100.0050.00317.41
8.1.90.0050.00317.38
8.1.80.0040.00417.29
8.1.70.0070.00017.32
8.1.60.0090.00017.44
8.1.50.0050.00317.52
8.1.40.0000.00817.34
8.1.30.0000.00717.58
8.1.20.0050.00317.52
8.1.10.0060.00317.51
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0060.00317.05
8.0.280.0000.00718.43
8.0.270.0070.00017.22
8.0.260.0000.00616.75
8.0.250.0000.00716.96
8.0.240.0030.00316.85
8.0.230.0030.00316.77
8.0.220.0070.00016.70
8.0.210.0080.00016.84
8.0.200.0060.00016.86
8.0.190.0000.00716.77
8.0.180.0030.00316.86
8.0.170.0070.00016.79
8.0.160.0040.00416.84
8.0.150.0030.00316.66
8.0.140.0050.00316.66
8.0.130.0000.00513.34
8.0.120.0050.00316.82
8.0.110.0000.00716.82
8.0.100.0050.00316.79
8.0.90.0040.00416.77
8.0.80.0040.01116.75
8.0.70.0000.00716.92
8.0.60.0070.00016.82
8.0.50.0080.00016.73
8.0.30.0080.01017.12
8.0.20.0080.01017.40
8.0.10.0050.00216.84
8.0.00.0140.00616.69
7.4.330.0000.00515.00
7.4.320.0000.00616.52
7.4.300.0070.00016.45
7.4.290.0050.00216.44
7.4.280.0020.00616.55
7.4.270.0040.00316.41
7.4.260.0070.00016.56
7.4.250.0050.00316.54
7.4.240.0030.00316.49
7.4.230.0030.00316.38
7.4.220.0090.00916.61
7.4.210.0070.01016.47
7.4.200.0000.00816.54
7.4.190.0030.00316.38
7.4.160.0070.01016.40
7.4.150.0120.00617.40
7.4.140.0090.01017.86
7.4.130.0080.01216.34
7.4.120.0080.00916.50
7.4.110.0090.00616.57
7.4.100.0070.01016.38
7.4.90.0130.00316.32
7.4.80.0070.01019.39
7.4.70.0030.01416.43
7.4.60.0090.00616.43
7.4.50.0030.00516.32
7.4.40.0070.01122.77
7.4.30.0090.00616.50
7.4.00.0030.01114.92
7.3.330.0040.00413.01
7.3.320.0000.00513.05
7.3.310.0030.00316.07
7.3.300.0030.00316.22
7.3.290.0040.01516.21
7.3.280.0100.00716.24
7.3.270.0070.01117.40
7.3.260.0070.01016.27
7.3.250.0100.00816.38
7.3.240.0160.00416.25
7.3.230.0140.00316.42
7.3.210.0060.01016.14
7.3.200.0060.01219.39
7.3.190.0110.00716.41
7.3.180.0060.00916.21
7.3.170.0090.00616.55
7.3.160.0100.00616.42
7.3.120.0000.01414.82
7.3.110.0000.01514.77
7.3.100.0070.00414.80
7.3.90.0070.00714.88
7.3.80.0000.01014.55
7.3.70.0090.00314.60
7.3.60.0040.00714.72
7.3.50.0080.00314.48
7.3.40.0070.00714.79
7.3.30.0100.00314.48
7.3.20.0070.00316.51
7.3.10.0000.01416.44
7.3.00.0040.01116.43
7.2.330.0000.01716.38
7.2.320.0130.00416.58
7.2.310.0130.00316.52
7.2.300.0000.01516.60
7.2.290.0120.00316.35
7.2.240.0100.00615.13
7.2.230.0070.01114.92
7.2.220.0090.00314.96
7.2.210.0060.00914.83
7.2.200.0080.00514.63
7.2.190.0000.01615.04
7.2.180.0150.00014.88
7.2.170.0070.00714.66
7.2.160.0000.01415.04
7.2.150.0040.01116.61
7.2.140.0060.01016.94
7.2.130.0030.01016.89
7.2.120.0000.01016.89
7.2.110.0070.01016.57
7.2.100.0060.00916.82
7.2.90.0120.00316.92
7.2.80.0080.00516.44
7.2.70.0030.01016.69
7.2.60.0080.00416.73
7.2.50.0070.01016.70
7.2.40.0000.01616.96
7.2.30.0030.01416.62
7.2.20.0100.00716.81
7.2.10.0060.00317.02
7.2.00.0120.00316.90
7.1.330.0110.00415.72
7.1.320.0000.01615.78
7.1.310.0060.00915.73
7.1.300.0060.00915.77
7.1.290.0070.00315.78
7.1.280.0000.01415.80
7.1.270.0000.01415.75
7.1.260.0060.00315.79
7.1.250.0030.01015.92
7.1.200.0030.00715.72
7.1.70.0060.00317.25
7.1.60.0040.00719.82
7.1.50.0070.01716.76
7.1.00.0030.07722.35
7.0.200.0030.00716.48
7.0.140.0030.07322.04
7.0.60.0030.04020.02
7.0.50.0030.05717.85
7.0.40.0130.07020.21
7.0.30.0200.04020.16
7.0.20.0230.07720.09
7.0.10.0200.03720.16
7.0.00.0070.04020.11
5.6.280.0030.07321.13
5.6.210.0130.07020.49
5.6.200.0000.04718.21
5.6.190.0070.08020.77
5.6.180.0370.06720.56
5.6.170.0230.04720.50
5.6.160.0030.08320.45
5.6.150.0070.08018.22
5.6.140.0130.04318.22
5.6.130.0030.04018.16
5.6.120.0030.08720.98
5.6.110.0100.08721.02
5.6.100.0070.04020.95
5.6.90.0000.07721.09
5.6.80.0000.06720.36
5.6.70.3870.03720.39
5.5.350.0430.06720.29
5.5.340.0030.04318.00
5.5.330.0130.07720.47
5.5.320.0070.09320.47
5.5.310.0300.03720.20
5.5.300.0030.07018.02
5.5.290.0030.07317.98
5.5.280.0100.03720.88
5.5.270.0070.05020.75
5.5.260.0070.07020.88
5.5.250.0200.06720.46
5.5.240.0070.03720.00
5.4.450.0800.07719.13
5.4.440.0830.04319.48
5.4.430.0100.06019.34
5.4.420.0200.05319.63
5.4.410.0200.04318.93
5.4.400.0400.06318.78
5.4.390.0370.06018.59
5.4.380.0300.05018.61
5.4.370.0070.05718.72
5.4.360.0430.03718.70
5.4.350.0080.03811.97
5.4.340.0040.04111.97
5.4.320.0050.03912.45
5.4.310.0060.04012.45
5.4.300.0070.04112.45
5.4.290.0070.04612.45
5.4.280.0050.04012.34
5.4.270.0080.03612.34
5.4.260.0050.04012.31
5.4.250.0050.04012.32
5.4.240.0040.03912.32
5.4.230.0070.05112.30
5.4.220.0090.04812.31
5.4.210.0080.04812.30
5.4.200.0100.04812.30
5.4.190.0100.04612.30
5.4.180.0060.04912.30
5.4.170.0070.04612.32
5.4.160.0080.03712.31
5.4.150.0080.04512.30
5.4.140.0030.04011.98
5.4.130.0060.03511.98
5.4.120.0090.03211.93
5.4.110.0080.03411.93
5.4.100.0070.03411.93
5.4.90.0090.03711.93
5.4.80.0080.04311.93
5.4.70.0050.03611.92
5.4.60.0050.03511.92
5.4.50.0070.03411.93
5.4.40.0070.03311.91
5.4.30.0040.03711.91
5.4.20.0070.03411.91
5.4.10.0100.04811.91
5.4.00.0050.05111.40
5.3.290.0070.04412.80
5.3.280.0090.04412.71
5.3.270.0070.04012.72
5.3.260.0060.04112.72
5.3.250.0070.03712.72
5.3.240.0030.04012.72
5.3.230.0070.04112.71
5.3.220.0040.04112.68
5.3.210.0100.03712.68
5.3.200.0100.04412.68
5.3.190.0060.05212.68
5.3.180.0100.06212.67
5.3.170.0070.03512.67
5.3.160.0060.03612.67
5.3.150.0050.03812.67
5.3.140.0090.03312.66
5.3.130.0100.04512.66
5.3.120.0080.03612.66
5.3.110.0150.04912.66
5.3.100.0100.04712.12
5.3.90.0130.04712.08
5.3.80.0100.03412.08
5.3.70.0080.03712.08
5.3.60.0050.03912.06
5.3.50.0070.04012.00
5.3.40.0050.03812.00
5.3.30.0060.03611.94
5.3.20.0060.03611.69
5.3.10.0090.03211.65
5.3.00.0070.03811.64
5.2.170.0080.0399.14
5.2.160.0030.0349.14
5.2.150.0050.0329.14
5.2.140.0050.0309.14
5.2.130.0040.0309.10
5.2.120.0070.0289.10
5.2.110.0080.0279.10
5.2.100.0020.0319.10
5.2.90.0060.0279.10
5.2.80.0020.0329.09
5.2.70.0050.0299.09
5.2.60.0040.0319.04
5.2.50.0060.0309.02
5.2.40.0090.0258.99
5.2.30.0050.0308.97
5.2.20.0040.0298.96
5.2.10.0040.0298.88
5.2.00.0040.0318.74
5.1.60.0040.0258.02
5.1.50.0050.0248.02
5.1.40.0050.0248.02
5.1.30.0030.0278.35
5.1.20.0050.0268.39
5.1.10.0050.0338.11
5.1.00.0030.0368.11
5.0.50.0060.0276.59
5.0.40.0060.0236.44
5.0.30.0040.0316.25
5.0.20.0060.0186.23
5.0.10.0050.0196.20
5.0.00.0060.0296.20
4.4.90.0030.0164.78
4.4.80.0020.0164.75
4.4.70.0040.0154.75
4.4.60.0030.0154.75
4.4.50.0030.0154.77
4.4.40.0050.0234.71
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0020.0164.66
4.3.100.0020.0164.67
4.3.90.0040.0144.63
4.3.80.0040.0244.58
4.3.70.0030.0214.63
4.3.60.0040.0174.63
4.3.50.0030.0224.63
4.3.40.0040.0254.54
4.3.30.0000.0193.27
4.3.20.0040.0143.25
4.3.10.0020.0173.22
4.3.00.0030.01714.49

preferences:
43.88 ms | 401 KiB | 5 Q