3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 3; assert('is_int($int) /* $int parameter must be an int, not just numeric */');

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.01016.63
8.3.50.0070.00718.05
8.3.40.0110.00418.48
8.3.30.0070.00718.54
8.3.20.0040.00420.22
8.3.10.0050.00223.62
8.3.00.0040.00419.26
8.2.180.0110.01116.50
8.2.170.0110.00422.96
8.2.160.0070.00722.11
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0090.00017.63
8.2.120.0050.00326.35
8.2.110.0090.00021.91
8.2.100.0040.00817.91
8.2.90.0050.00318.89
8.2.80.0030.00517.97
8.2.70.0030.00517.46
8.2.60.0080.00017.91
8.2.50.0000.01118.07
8.2.40.0040.00419.36
8.2.30.0000.00720.54
8.2.20.0040.00417.69
8.2.10.0040.00417.86
8.2.00.0000.00717.90
8.1.280.0090.00925.92
8.1.270.0030.00622.00
8.1.260.0050.00228.09
8.1.250.0000.00728.09
8.1.240.0060.00322.33
8.1.230.0080.00417.54
8.1.220.0000.00817.79
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0040.00418.51
8.1.160.0030.00321.87
8.1.150.0000.00718.80
8.1.140.0050.00319.50
8.1.130.0000.00717.54
8.1.120.0040.00417.30
8.1.110.0040.00417.36
8.1.100.0040.00417.33
8.1.90.0000.00717.43
8.1.80.0000.00717.23
8.1.70.0000.00717.20
8.1.60.0000.00917.53
8.1.50.0060.00317.40
8.1.40.0040.00817.43
8.1.30.0000.00817.55
8.1.20.0050.00217.62
8.1.10.0000.00817.44
8.1.00.0000.00817.27
8.0.300.0000.00718.77
8.0.290.0000.00716.58
8.0.280.0000.00818.24
8.0.270.0030.00517.05
8.0.260.0060.00017.09
8.0.250.0030.00316.94
8.0.240.0000.00716.96
8.0.230.0050.00316.90
8.0.220.0000.00716.89
8.0.210.0090.00016.81
8.0.200.0030.00316.91
8.0.190.0040.00416.96
8.0.180.0030.00916.83
8.0.170.0030.00716.94
8.0.160.0030.00516.91
8.0.150.0080.00016.86
8.0.140.0040.00716.71
8.0.130.0030.00313.31
8.0.120.0040.00416.87
8.0.110.0000.00816.93
8.0.100.0040.00416.99
8.0.90.0040.00416.81
8.0.80.0080.00816.82
8.0.70.0070.00016.89
8.0.60.0000.00816.91
8.0.50.0050.00216.83
8.0.30.0070.01117.15
8.0.20.0130.00517.40
8.0.10.0070.00016.99
8.0.00.0070.01116.74
7.4.330.0000.00516.84
7.4.320.0060.00016.52
7.4.300.0060.00016.43
7.4.290.0050.00316.43
7.4.280.0070.00016.39
7.4.270.0070.00016.47
7.4.260.0000.00716.42
7.4.250.0040.00416.38
7.4.240.0050.00216.42
7.4.230.0070.00016.49
7.4.220.0060.01316.54
7.4.210.0060.00816.40
7.4.200.0040.00416.55
7.4.160.0090.00616.19
7.4.150.0060.01217.40
7.4.140.0100.00817.86
7.4.130.0120.00816.54
7.4.120.0100.00816.51
7.4.110.0100.01416.50
7.4.100.0060.01216.48
7.4.90.0090.01416.31
7.4.80.0060.01119.39
7.4.70.0060.01116.30
7.4.60.0120.00916.34
7.4.50.0110.00416.49
7.4.40.0030.01216.59
7.4.30.0060.01516.52
7.4.00.0060.00914.81
7.3.330.0060.00013.25
7.3.320.0050.00013.18
7.3.310.0030.00316.21
7.3.300.0040.00416.27
7.3.290.0000.00716.25
7.3.280.0100.00416.25
7.3.270.0070.01017.40
7.3.260.0160.00616.36
7.3.250.0090.00916.29
7.3.240.0060.01416.22
7.3.230.0090.00916.41
7.3.210.0130.00316.43
7.3.200.0060.01216.26
7.3.190.0070.01116.29
7.3.180.0160.00316.24
7.3.170.0070.01016.27
7.3.160.0130.00316.30
7.3.120.0100.00614.56
7.3.110.0060.00914.54
7.3.100.0110.00714.66
7.3.90.0090.00614.54
7.3.80.0030.01014.89
7.3.70.0030.00614.79
7.3.60.0070.00814.61
7.3.50.0030.01414.82
7.3.40.0150.00014.71
7.3.30.0060.00614.65
7.3.20.0040.00816.49
7.3.10.0100.00316.51
7.3.00.0070.01016.49
7.2.330.0070.01116.76
7.2.320.0030.01316.45
7.2.310.0160.00316.66
7.2.300.0070.01016.56
7.2.290.0030.01616.58
7.2.250.0070.01114.66
7.2.240.0100.01014.84
7.2.230.0040.00814.59
7.2.220.0050.00514.56
7.2.210.0150.00014.89
7.2.200.0100.00315.01
7.2.190.0040.00714.66
7.2.180.0120.00314.92
7.2.170.0070.00715.00
7.2.60.0030.01316.87
7.2.00.0160.00019.13
7.1.330.0080.00815.57
7.1.320.0070.00715.58
7.1.310.0000.00915.42
7.1.300.0070.00715.70
7.1.290.0040.01115.56
7.1.280.0070.00715.48
7.1.270.0100.00315.26
7.1.260.0000.01615.64
7.1.200.0060.00315.87
7.1.100.0030.01417.83
7.1.70.0040.00417.18
7.1.60.0060.01319.48
7.1.50.0060.01216.90
7.1.00.0000.08022.28
7.0.200.0490.00314.87
7.0.60.0000.04720.00
7.0.50.0030.08717.87
7.0.40.0100.04720.01
7.0.30.0200.05320.33
7.0.20.0270.06020.16
7.0.10.0030.07720.16
7.0.00.0170.04320.13
5.6.280.0030.06021.10
5.6.210.0170.07320.70
5.6.200.0130.06018.23
5.6.190.0200.07720.35
5.6.180.0300.06020.77
5.6.170.0230.04720.62
5.6.160.0070.06720.37
5.6.150.0100.05318.11
5.6.140.0000.06718.22
5.6.130.0100.03718.21
5.6.120.0200.06020.97
5.6.110.0070.08020.98
5.6.100.0130.06321.03
5.6.90.0030.07321.09
5.6.80.0070.04020.27
5.5.350.4000.04320.42
5.5.340.0030.08317.93
5.5.330.0070.08320.12
5.5.320.0300.06320.17
5.5.310.0330.08020.34
5.5.300.0070.03717.91
5.5.290.0000.04318.01
5.5.280.0130.07720.83
5.5.270.0000.06020.96
5.5.260.0070.06720.73
5.5.250.0070.06020.67
5.5.240.0300.06720.25

preferences:
39.28 ms | 400 KiB | 5 Q