3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*class Insu { function clsName() { echo get_class($this); } } $cl = new Insu; $cl->clsName();*/ //Insurance::clsName(); TRUE; FALSE; NULL; __FILE__; CONSTANT; //var_dump(3*4);

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.0070.00716.61
8.3.50.0070.01022.03
8.3.40.0150.00618.76
8.3.30.0120.00319.00
8.3.20.0050.00320.21
8.3.10.0080.00023.70
8.3.00.0070.00418.98
8.2.180.0120.00616.63
8.2.170.0130.00722.96
8.2.160.0130.00320.53
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0000.00720.72
8.2.110.0030.00619.30
8.2.100.0110.00017.78
8.2.90.0080.00019.07
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0030.00618.04
8.2.50.0040.00418.10
8.2.40.0030.00520.60
8.2.30.0000.00819.27
8.2.20.0000.00717.77
8.2.10.0070.00017.95
8.2.00.0040.00417.79
8.1.280.0100.01025.92
8.1.270.0040.00423.84
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0110.00019.41
8.1.230.0070.00420.29
8.1.220.0040.00417.76
8.1.210.0030.00518.77
8.1.200.0060.00317.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0030.00518.45
8.1.160.0040.00418.73
8.1.150.0030.00520.08
8.1.140.0000.00717.23
8.1.130.0000.00617.75
8.1.120.0040.00417.45
8.1.110.0070.00317.30
8.1.100.0030.00317.30
8.1.90.0060.00317.39
8.1.80.0070.00317.30
8.1.70.0090.00017.30
8.1.60.0080.00017.53
8.1.50.0030.00617.43
8.1.40.0030.00517.33
8.1.30.0050.00317.59
8.1.20.0030.00617.64
8.1.10.0000.00717.43
8.1.00.0040.00417.48
8.0.300.0080.00018.77
8.0.290.0070.00016.63
8.0.280.0000.00818.39
8.0.270.0030.00317.25
8.0.260.0080.00017.19
8.0.250.0000.00616.94
8.0.240.0040.00417.04
8.0.230.0030.00317.02
8.0.220.0060.00016.91
8.0.210.0020.00516.95
8.0.200.0000.00717.01
8.0.190.0060.00316.91
8.0.180.0030.00617.02
8.0.170.0070.00016.98
8.0.160.0040.00416.88
8.0.150.0070.00016.98
8.0.140.0030.00316.91
8.0.130.0030.00313.37
8.0.120.0020.00516.95
8.0.110.0000.00816.93
8.0.100.0000.00716.93
8.0.90.0070.00016.95
8.0.80.0090.00916.93
8.0.70.0080.00016.75
8.0.60.0070.00016.96
8.0.50.0000.00816.88
8.0.30.0120.00617.06
8.0.20.0150.00717.40
8.0.10.0000.00716.94
8.0.00.0170.00316.60
7.4.330.0000.00515.00
7.4.320.0000.00616.43
7.4.300.0070.00016.37
7.4.290.0000.00716.44
7.4.280.0000.00716.40
7.4.270.0070.00016.53
7.4.260.0030.00316.54
7.4.250.0030.00316.47
7.4.240.0030.00316.51
7.4.230.0000.00716.38
7.4.220.0110.00816.48
7.4.210.0080.00916.42
7.4.200.0000.00716.53
7.4.190.0070.00016.67
7.4.160.0050.01116.44
7.4.150.0060.01317.40
7.4.140.0100.00717.86
7.4.130.0090.01216.34
7.4.120.0100.01016.51
7.4.110.0060.01016.52
7.4.100.0110.00616.27
7.4.90.0170.00016.49
7.4.80.0120.01019.39
7.4.70.0100.00616.34
7.4.60.0040.01216.35
7.4.50.0000.00716.41
7.4.40.0180.00416.15
7.4.30.0100.00716.44
7.4.00.0090.00315.03
7.3.330.0060.00013.12
7.3.320.0030.00312.92
7.3.310.0020.00516.07
7.3.300.0050.00316.07
7.3.290.0050.00916.25
7.3.280.0070.01016.20
7.3.270.0130.00317.40
7.3.260.0130.00416.19
7.3.250.0040.01416.33
7.3.240.0170.00016.26
7.3.230.0040.01216.39
7.3.210.0080.00916.09
7.3.200.0060.01319.39
7.3.190.0130.00316.37
7.3.180.0040.01216.46
7.3.170.0100.00716.40
7.3.160.0030.01616.31
7.3.120.0030.01114.42
7.3.10.0070.00716.46
7.3.00.0060.00616.48
7.2.330.0090.00916.38
7.2.320.0140.00316.27
7.2.310.0110.01216.46
7.2.300.0060.01316.54
7.2.290.0100.01016.54
7.2.130.0100.00316.73
7.2.120.0060.00616.84
7.2.110.0040.01116.30
7.2.100.0070.00716.74
7.2.90.0080.00616.84
7.2.80.0060.00916.90
7.2.70.0080.00816.88
7.2.60.0040.01216.40
7.2.50.0030.00916.89
7.2.40.0100.00316.78
7.2.30.0070.01016.84
7.2.20.0100.00316.75
7.2.10.0060.00616.78
7.2.00.0060.01018.09
7.1.250.0090.00615.71
7.1.200.0000.01015.75
7.1.100.0080.00817.86
7.1.70.0060.00917.16
7.1.60.0070.01819.46
7.1.50.0070.01616.86
7.1.00.0030.07722.33
7.0.200.0000.00816.68
7.0.140.0000.07722.07
7.0.60.0070.04019.89
7.0.50.0000.04317.88
7.0.40.0030.04720.04
7.0.30.0300.04720.17
7.0.20.0200.09020.17
7.0.10.0030.06320.22
7.0.00.0030.04320.12
5.6.280.0100.06721.03
5.6.210.0170.07720.76
5.6.200.0000.05318.21
5.6.190.0100.06320.42
5.6.180.0170.06020.45
5.6.170.0170.04020.50
5.6.160.0100.06720.37
5.6.150.0030.04018.13
5.6.140.0000.08018.15
5.6.130.0200.07318.18
5.6.120.0230.07720.89
5.6.110.0100.08720.88
5.6.100.0030.04021.08
5.6.90.0000.09721.09
5.6.80.0130.05320.41
5.5.350.0070.05020.34
5.5.340.0130.07017.91
5.5.330.0000.05320.23
5.5.320.0200.04720.20
5.5.310.0400.07020.38
5.5.300.0030.08717.89
5.5.290.0070.08017.88
5.5.280.0030.05020.93
5.5.270.0030.06720.84
5.5.260.0100.08320.75
5.5.250.0130.05720.42
5.5.240.0170.06720.02
5.4.450.0270.04719.20
5.4.440.0300.04719.55
5.4.430.0470.03719.48
5.4.420.0670.04319.20
5.4.410.0570.05719.41
5.4.400.0430.04318.89
5.4.390.0370.04018.80
5.4.380.0600.04718.77
5.4.370.0700.02719.21
5.4.360.0230.04319.25
5.4.350.0600.04318.77
5.4.340.0670.04018.90
5.4.320.0800.07719.18
5.4.310.0730.02719.04
5.4.300.0670.03719.23
5.4.290.0500.03019.07
5.4.280.0300.03718.93
5.4.270.0530.03319.04
5.4.260.0830.05318.88
5.4.250.0870.02319.23
5.4.240.0830.04019.19
5.4.230.0700.04319.26
5.4.220.0770.03318.87
5.4.210.0670.02719.17
5.4.200.0630.05019.13
5.4.190.0630.04319.03
5.4.180.0370.03719.10
5.4.170.0770.04719.02
5.4.160.0800.03319.03
5.4.150.0100.05018.77
5.4.140.0870.03716.27
5.4.130.0900.03016.44
5.4.120.0670.03716.21
5.4.110.0570.04316.38
5.4.100.0870.03316.23
5.4.90.0230.03316.45
5.4.80.0500.03716.43
5.4.70.0370.04016.21
5.4.60.0830.03316.36
5.4.50.0400.03716.21
5.4.40.0700.03016.21
5.4.30.0600.03716.40
5.4.20.0430.05016.33
5.4.10.0870.03716.35
5.4.00.0430.03716.21
5.3.290.0630.04316.21
5.3.280.1030.03716.21
5.3.270.0600.04316.21
5.3.260.0570.04716.21
5.3.250.0700.03316.21
5.3.240.0500.04016.21
5.3.230.0830.03316.21
5.3.220.0830.04016.21
5.3.210.0770.04316.21
5.3.200.0470.04316.21
5.3.190.0670.04016.21
5.3.180.0400.04316.21
5.3.170.0800.04016.21
5.3.160.0270.04316.21
5.3.150.0900.04016.21
5.3.140.0600.03716.21
5.3.130.0530.03016.21
5.3.120.0270.04016.21
5.3.110.0400.02716.21
5.3.100.0400.05316.21
5.3.90.0700.03316.21
5.3.80.0700.03016.21
5.3.70.0070.03016.21
5.3.60.0470.03016.21
5.3.50.0570.04016.20
5.3.40.0870.03016.20
5.3.30.0630.04016.20
5.3.20.0370.04316.20
5.3.10.0170.04316.20
5.3.00.0500.03716.20
5.2.170.0400.03716.20
5.2.160.0400.03316.20
5.2.150.0370.02316.20
5.2.140.0600.02316.20
5.2.130.0430.02716.20
5.2.120.0470.02316.20
5.2.110.0630.03316.20
5.2.100.0600.03016.20
5.2.90.0330.02716.20
5.2.80.0330.03016.20
5.2.70.0730.02316.20
5.2.60.0300.03016.20
5.2.50.0700.02316.20
5.2.40.0700.02716.20
5.2.30.0400.03016.20
5.2.20.0230.03016.20
5.2.10.0230.03716.20
5.2.00.0370.04716.20
5.1.60.0130.02316.20
5.1.50.0130.02716.20
5.1.40.0270.03016.20
5.1.30.0570.02316.20
5.1.20.0270.03316.20
5.1.10.0100.03016.20
5.1.00.0500.02016.20
5.0.50.0200.01316.20
5.0.40.0070.02016.20
5.0.30.0170.04316.20
5.0.20.0170.02316.20
5.0.10.0130.02016.20
5.0.00.0230.06716.20
4.4.90.0300.01316.20
4.4.80.0300.01716.20
4.4.70.0230.01316.20
4.4.60.0270.01316.20
4.4.50.0230.01716.20
4.4.40.0130.03016.20
4.4.30.0070.02016.20
4.4.20.0270.03016.20
4.4.10.0200.01316.20
4.4.00.0170.02716.20
4.3.110.0170.01316.20
4.3.100.0270.00716.20
4.3.90.0130.01716.20
4.3.80.0130.02716.20
4.3.70.0170.01316.20
4.3.60.0070.01716.20
4.3.50.0230.01716.20
4.3.40.0230.02316.20
4.3.30.0070.02016.20
4.3.20.0030.02016.20
4.3.10.0170.00716.20
4.3.00.0100.01016.20

preferences:
50.33 ms | 401 KiB | 5 Q